Close
Relief for ODA Team in Ukraine
Learn more
ODA Drawings SDK
API Reference
>
OdDb Classes
>
OdDbViewport Class
>
OdDbViewport Methods
>
setUcs Method
>
OdDbViewport::setUcs Method (OdDb::OrthographicView, const OdDbDatabase*)
OdDbViewport::setUcs Method (OdDb::OrthographicView, const OdDbDatabase*)
Syntax
C++
void
setUcs
(OdDb::OrthographicView
viewType
,
const
OdDbDatabase
*
pDb
= 0);
Description
Sets the UCS associated with this Viewport object
Parameters
Parameters
Description
viewType
[in] Orthographic view type (DXF 79).
pDb
[in] Working database. If object is a database resident this parameter is ignored.
Remarks
viewType must be one of the following:
Name Value View type
OdDb::kNonOrthoView 0 Non-orthographic with respect to the UCS
OdDb::kTopView 1 Top view with respect to the UCS
OdDb::kBottomView 2 Bottom view with respect to the UCS
OdDb::kFrontView 3 Front view with respect to the UCS
OdDb::kBackView 4 Back view with respect to the UCS
OdDb::kLeftView 5 Left view with respect to the UCS
OdDb::kRightView 6 Right view with respect to the UCS
Links
OdDbViewport Class
Was this documentation helpful?
We are sorry. Please tell us what we can improve.
*
Great! Please provide additional feedback.
(Optional)
Thank you for your feedback!
Please wait...
Something went wrong!