Explodes the compound
object into subentities.
VBA : RetVal =
VL : RetVal = (vla-Explode
3DPolyline , BlockRef, LightweightPolyline, MInsertBlock,
Polygonmesh, Polyline, Region
The object or objects this method applies to.
RetVal : Variant
(array of objects)
The array of exploded objects.
Depending on the type of
compound object you're exploding, different results occur. Refer to the EXPLODE
command topic in the AutoCAD Command Reference for a detailed
list of explodable objects and their results.
You do not have to
explode a block in order to manipulate its constituent entities. All
block definitions have an Item method that allow you to manaipulte the
entities within the block without exploding the block definition itself.
(defun c:al-explode ()
(setq util (vla-get-utility
(vla-getentity util 'obj 'ip "\nSelect Object: ")
(setq objs (vla-Explode obj))