API Reference > OdDb Classes > OdDbBlockReference Class > OdDbBlockReference Methods > OdDbBlockReference::explodeToBlock Method
OdDbBlockReference::explodeToBlock Method
Syntax
C++
virtual OdResult explodeToBlock(OdDbBlockTableRecord * BlockRecord, OdDbObjectIdArray * ids = 0);
Parameters 
Description 
OdDbBlockTableRecord * BlockRecord 
[out] Pointer to the Block Table Record.  
OdDbObjectIdArray * ids = 0 
[in/out] Receives an array of Object IDs of the new Block References. 

Entities resulting from the explosion are appended to the specified array. The newly created entities are database resident or not depending on the block table record they are appended to. If block table record is database resident the entities are database resident as well. If block table record is not database resident newly created entities are not database resident. The default implementation of this function returns eNotApplicable. This function can be overridden in custom classes.

Explodes this entity into a set of simpler entities, and adds them to the specified block table record. 

 

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