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