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

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

 

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.

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