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