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