API Reference > OdDb Classes > OdDbBlockReference Class > OdDbBlockReference Methods > OdDbBlockReference::rotation Method
OdDbBlockReference::rotation Method
Syntax
C++
double rotation() const;

Returns the rotation angle applied to this block reference (DXF 50).

Rotation is about the Z axis, relative the X-axis, in the coordinate system parallel to this object's OCS, but with its origin at this object's insertion point. 

All angles are expressed in radians.

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