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