Verifies the existence of a block definition in the document.
Rhino.IsBlock (strBlock)
|
strBlock |
Required. String. The name of an existing block definition. |
|
Boolean |
True or false indicating success or failure. |
|
Null |
On error. |
Dim strBlock
strBlock = Rhino.GetString("Block name")
If Rhino.IsBlock(strBlock) Then
Rhino.Print "The block definition exists."
Else
Rhino.Print "The block definition does not exist."
End If