AddCurve

Adds a control points curve object to the document.

Syntax

rhinoscriptsyntax.AddCurve (points, degree=3 )

rhinoscript.curve.AddCurve (points, degree=3 )

Parameters

points

Required.  A list of 3-D points.

degree

Optional.  Number.  The degree of the curve.  If omitted, a degree 3 curve is created.

Returns

Guid

The identifier of the new object if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

points = rs.GetPoints(True, message1="Pick curve point")

if points: rs.AddCurve(points)

Also See

AddInterpCurve

IsCurve