API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewport Class > OdDbAbstractViewportDataForDbViewport Methods > OdDbAbstractViewportDataForDbViewport::setSnapAngle Method
OdDbAbstractViewportDataForDbViewport::setSnapAngle Method
Syntax
C++
void setSnapAngle(OdRxObject* pViewport, double snapAngle) const;
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–2020. Open Design Alliance. All rights reserved.