API Reference > OdDb Classes > OdDbRotatedDimension Class > OdDbRotatedDimension Methods > OdDbRotatedDimension::setRotation Method
OdDbRotatedDimension::setRotation Method
Syntax
C++
void setRotation(double rotation);
Parameters 
Description 
double rotation 
[in] Rotation angle. 

Sets the rotation angle for this Dimension entity (DXF 50). 

 

The rotation angle is measured from the OCS X-axis to the dimension line of this Dimension entity. 

All angles are expressed in radians.

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