Adds a control points curve object to the document.
Rhino.AddCurve (arrPoints [, intDegree])
arrPoints |
Required. Array. An array of 3-D points. |
intDegree |
Optional. Number. The degree of the curve. If omitted, a degree 3 curve is created. |
String |
The identifier of the new object if successful. |
Null |
If not successful, or on error. |
Dim arrPoints
arrPoints = Rhino.GetPoints(True,,"Pick curve point")
If IsArray(arrPoints) Then
Rhino.AddCurve arrPoints
End If