The return value of the Explode method is an array of objects. From the help chm:
' Explode the polyline
MsgBox "Explode the polyline?", , "Explode Example"
Dim explodedObjects As Variant
explodedObjects = plineObj.Explode
' Loop through the exploded objects
Dim I As Integer
For I = 0 To UBound(explodedObjects)
explodedObjects(I).Update
MsgBox "Exploded Object " & I & ": " & explodedObjects(I).ObjectName, , "Explode Example"
explodedObjects(I).Color = acByLayer
explodedObjects(I).Update
Next
You can then iterate the array to access the entities. Keep in mind that the Explode method does not explode the original pline. I give you a copy. You will probably want to delete the original.
Ed
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to
post your code.