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

Sets the rotation angle to be applied to this block reference, in radians (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–2020. Open Design Alliance. All rights reserved.