Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdAbstractViewPE::setUcs Method (OdRxObject*, OdDb::OrthographicView, const OdDbBaseDatabase*)
Syntax
C++
virtual bool setUcs(OdRxObject* pViewport, OdDb::OrthographicView orthoUcs, const OdDbBaseDatabase* pDb = 0) const;

Sets the UCS associated with the specified Viewport object.

Parameters
Description
pViewport
[in] Pointer to the Viewport object.
orthoUcs
[in] Orthographic view type.
pDb
[in] Working database. If object is a database resident this parameter is ignored.

orthoUcs 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
Copyright © 2002-2022. Open Design Alliance All rights reserved.