Drawings SDK Developer Guide > Working with .dwg Files > Working with Entities > Exploding Entities > Overview of Exploding Entities
Overview of Exploding Entities

The explode operation produces a set of simple entities from a complex entity.

There are four functions related to exploding entities. The first two are:

  • explode() — Produces an array of pointers to non-database resident entities. No changes are made in the database.
  • explodeToBlock() — Creates a set of database-resident entities that are placed into a specified Block Table Record.

The explode() and explodeToBlock() functions may not be able to explode some complex entities, for example, MInsert entities and block references where the Block Table Record has “explode allowed” set to false.

The remaining two functions related to exploding entities are:

  • explodeGeometry() — Function similar to explode(), but explodes any complex entity and produces a visual result that is as close to the original entity as possible.
  • explodeGeometryToBlock() — Function similar to explodeToBlock(), but explodes any complex entity and produces a visual result that is as close to the original entity as possible.

See Also

Exploding Entities

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