API Reference > OdDb Classes > OdDbBlockReference Class > OdDbBlockReference Methods > OdDbBlockReference::setBlockTransform Method
OdDbBlockReference::setBlockTransform Method
Syntax
C++
virtual OdResult setBlockTransform(const OdGeMatrix3d& xfm);
Parameters 
Description 
const OdGeMatrix3d& xfm 
[in] Any 3D transformation matrix. 

Sets the transformation matrix mapping a point in the MCS to the WCS. 

 

The Microspace Coordinate System (MCS) is the WCS within the block definition. Applying this matrix to the center of an arc within the block definition returns the center of the arc as it appears in the block reference.

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