API Reference > OdDb Classes > OdDbDimension Class > OdDbDimension Methods > OdDbDimension::setDimBlockId Method
OdDbDimension::setDimBlockId Method
Syntax
C++
void setDimBlockId(const OdDbObjectId& dimBlockId, bool singleReferenced = true);
Parameters 
Description 
const OdDbObjectId& dimBlockId 
[in] Object ID of the OdDbBlockTableRecord.  
bool singleReferenced = true 
[in] True if and only if the dimension block is referenced only by this Dimension entity (DXF 70 bit 0x20). 

Sets the Object ID of the dimension block (OdDbBlockTableRecord) associated with this Dimension entity. 

 

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