Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbEntity::explodeGeometryToBlock Method
Syntax
C++
virtual OdResult explodeGeometryToBlock(OdDbBlockTableRecord * pBlockRecord, OdDbObjectIdArray * ids = 0);

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

 

Parameters
Description
pBlockRecord
[in] Pointer to the Block Table Record.
ids
[in/out] Receives array of Object IDs of the new entities.

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-2022. Open Design Alliance All rights reserved.