Explodes a block instance into it's geometric components. The exploded objects are added to the document.
rhinoscriptsyntax.ExplodeBlockInstance (object_id)
rhinoscript.block.ExplodeBlockInstance (object_id)
object_id |
Required. String or Guid. The identifier of an existing block definition. |
List |
An array of strings identifying the newly exploded objects if successful. |
import rhinoscriptsyntax as rs
strObject = rs.GetObject("Select block instance to explode")
if rs.IsBlockInstance(strObject):
rs.ExplodeBlockInstance(strObject)