API Reference > OdDb Classes > OdDbAbstractViewportData Class > OdDbAbstractViewportData Methods > OdDbAbstractViewportData::setSnapAngle Method
OdDbAbstractViewportData::setSnapAngle Method
Syntax
C++
virtual void setSnapAngle(OdRxObject* pViewport, double snapAngle) const = 0;
Parameters 
Description 
OdRxObject* pViewport 
[in] Input pointer to the viewport object.  
double snapAngle 
[in] Input snap angle. remarks All angles are expressed in radians. 

Sets the UCS snap angle for the specified viewport object (DXF 50).

Copyright © 2002–2021. Open Design Alliance. All rights reserved.