PolylineCurve

class rhino3dm.PolylineCurve
PolylineCurve()

PolylineCurve constructor

PolylineCurve()

PolylineCurve constructor

PointCount

int: Gets the number of points in this polyline.

Point(index)

Gets a point at a specified index in the polyline curve.

Parameters:

index (int) – An index.

Returns:

A point.

Return type:

rhino3dm.Point3d

SetPoint(index, point)

Sets a point at a specified index in the polyline curve.

Parameters:
  • index (int) – An index.

  • point (rhino3dm.Point3d) – A point location to set.

Return type:

void

ToPolyline()

Returns the underlying Polyline, or points.

Returns:

The Polyline if successful, None of the curve has no points.

Return type:

rhino3dm.Polyline