API Reference > OdDb Classes > OdDbAttribute Class > OdDbAttribute Methods > setAttributeFromBlock Method > OdDbAttribute::setAttributeFromBlock Method (OdGeMatrix3d&)
OdDbAttribute::setAttributeFromBlock Method (OdGeMatrix3d&)
Syntax
C++
void setAttributeFromBlock(const OdGeMatrix3d& blkXform);
Parameters 
Description 
const OdGeMatrix3d& blkXform 
[in] Block transformation matrix. 

Applies the settings from the specified attribute definition, then applies the specified block transformation matrix to to this Attribute entity. 

 

Equivalent to the ATTREDEF and INSERT commands. 

blkXform is the transformation matrix returned by the OdDbBlockReference::blockTransform() function of the OdDbBlockReference that will own this attribute.

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