IsBlockInstance

Verifies an object is a block instance.

Syntax

Rhino.IsBlockInstance (strObject)

Parameters

strObject

Required.  String.  The identifier of an existing block instance.

Returns

Boolean

True or false indicating success or failure.

Null

On error.

Example

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

Also See

IsBlock

IsBlockEmbedded

IsBlockInUse

IsBlockReference