Verifies an object is a polycurve object. A polycurve is a curve that is represented by a sequence of contiguous curve segments.
Rhino.IsPolyCurve (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 polycurve")
If Rhino.IsPolyCurve(strObject) Then
Rhino.Print "The object is a polycurve."
Else
Rhino.Print "The object is not a polycurve."
End If