Verifies an object is a NURBS curve object.
Rhino.IsNurbsCurve (strObject [, intIndex])
strObject |
Required. String. The object's identifier. |
intIndex |
Optional. Number. If strObject identifies a polycurve object, then intIndex identifies the curve segment of the polycurve to query. |
Boolean |
True if successful, otherwise False. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject("Select a curve")
If Rhino.IsNurbsCurve(strObject) Then
Rhino.Print "The object is a NURBS curve."
Else
Rhino.Print "The object is not a NURBS curve."
End If