Returns the name of a block definition given the block definition's identifier.
Rhino.BlockName (strBlock)
strBlock |
Required. String. The identifier of an existing block definition. |
String |
The block definition's name if successful. |
Null |
If not successful, or on error. |
Dim arrBlocks, strBlock
arrBlocks = Rhino.BlockIds
If IsArray(arrBlocks) Then
For Each strBlock In arrBlocks
Call Rhino.Print(strBlock)
Call Rhino.Print(Rhino.BlockName(strBlock))
Next
End If