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

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

 

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 too. If block table record is not database resident newly created entities are not database resident. Entities resulting from the explosion are appended to the specified array. The default implementation of this function calls subWorldDraw() and makes entities from geometry generated by subWorldDraw(). This function can be overridden in custom classes.

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