Returns the block definition name of a block instance object.
Rhino.BlockInstanceName (strObject)
strObject |
Required. String. The identifier of an existing block instance object. |
String |
The block definition name if successful. |
Null |
If not successful, or on error. |
Dim strObject
strObject = Rhino.GetObject("Select block")
If Rhino.IsBlockInstance(strObject) Then
Call Rhino.Print(Rhino.BlockInstanceName(strObject))
End If