Verifies that an object has custom render mesh parameters.
Rhino.ObjectHasMesh (strObject)
strObject |
Required. Object. The identifier of a meshable object. |
Boolean |
True of the object has custom render mesh parameters, False otherwise. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject("Select object")
If Rhino.ObjectHasMesh(strObject) = False Then
Rhino.AddObjectMesh strObject, 1, True
End If