Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbBlockTableRecord::getBlockReferenceIds Method
Syntax
C++
void getBlockReferenceIds(OdDbObjectIdArray& referenceIds, bool directOnly = true, bool forceValidity = false);

Returns the Object ID's of all OdDbBlockReference entities that reference this Block. 

 

Parameters
Description
referenceIds
[out] Receives the BlockReference Object ID's.
directOnly
[in] If true, returns only direct references.
forceValidity
[in] If true, forces the loading of partially loaded drawings.

If this Block is nested, references to the parent block(s) will be included if and only if directOnly is false. Older drawings do not explicitly store this information, and hence must be completely loaded.

Copyright © 2002-2022. Open Design Alliance All rights reserved.