Verifies an object is a dimension leader object.
Rhino.IsLeader (strObject)
strObject |
Required. String. The object's identifier. |
Boolean |
True if successful, otherwise False. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject("Select a leader")
If Rhino.IsLeader(strObject) Then
Rhino.Print "The object is a leader."
Else
Rhino.Print "The object is not a leader."
End If