API Reference > Other Classes > OdAbstractViewPE Class > OdAbstractViewPE Methods > setUcs Method > OdAbstractViewPE::setUcs Method (OdRxObject*, OdDb::OrthographicView, OdDbBaseDatabase*)
OdAbstractViewPE::setUcs Method (OdRxObject*, OdDb::OrthographicView, OdDbBaseDatabase*)
Syntax
C++
virtual bool setUcs(OdRxObject* pViewport, OdDb::OrthographicView orthoUcs, const OdDbBaseDatabase* pDb = 0) const;
Parameters 
Description 
OdRxObject* pViewport 
[in] Pointer to the Viewport object.  
OdDb::OrthographicView orthoUcs 
[in] Orthographic view type.  
const OdDbBaseDatabase* pDb = 0 
[in] Working database. If object is a database resident this parameter is ignored. 

Sets the UCS associated with the specified Viewport object.

orthoUcs must be one of the following: 

 

Name 
Value 
View type 
OdDb::kNonOrthoView 
Non-orthographic with respect to the UCS 
OdDb::kTopView 
Top view with respect to the UCS 
OdDb::kBottomView 
Bottom view with respect to the UCS 
OdDb::kFrontView 
Front view with respect to the UCS 
OdDb::kBackView 
Back view with respect to the UCS 
OdDb::kLeftView 
Left view with respect to the UCS 
OdDb::kRightView 
Right view with respect to the UCS 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.