Verifies an object is a block instance.
Rhino.IsBlockInstance (strObject)
strObject |
Required. String. The identifier of an existing block instance. |
Boolean |
True or false indicating success or failure. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject("Select block instance")
If Rhino.IsBlockInstance(strObject) Then
Rhino.Print "The object is a block instance."
Else
Rhino.Print "The object is not a block instance."
End If