ExplodeBlockInstance

Explodes a block instance into it's geometric components.  The exploded objects are added to the document.

Syntax

rhinoscriptsyntax.ExplodeBlockInstance (object_id)

rhinoscript.block.ExplodeBlockInstance (object_id)

Parameters

object_id

Required.  String or Guid.  The identifier of an existing block definition.

Returns

List

An array of strings identifying the newly exploded objects if successful.

Example

import rhinoscriptsyntax as rs

strObject = rs.GetObject("Select block instance to explode")

if rs.IsBlockInstance(strObject):

    rs.ExplodeBlockInstance(strObject)

Also See

DeleteBlock

IsBlockInstance