Verifies that an object's geometry is valid and without error.
Rhino.IsObjectValid (strObject)
strObject |
Required. String. The identifier of an object. |
True |
The object is valid. |
False |
The object is not valid. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject("Select object")
If Rhino.IsObjectValid(strObject) Then
Rhino.Print "The object is valid."
Else
Rhino.Print "The object is not valid."
End If