RhinoCommon API
File3dmObjectTableAddPolyline Method (IEnumerablePoint3d, ObjectAttributes) |
Adds a polyline object to Rhino.
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)

public Guid AddPolyline( IEnumerable<Point3d> points, ObjectAttributes attributes )
Public Function AddPolyline ( points As IEnumerable(Of Point3d), attributes As ObjectAttributes ) As Guid
Parameters
- points
- Type: System.Collections.GenericIEnumerablePoint3d
A list, an array or any enumerable set of Point3d. - attributes
- Type: Rhino.DocObjectsObjectAttributes
Attributes to apply to line.
Return Value
Type: GuidA unique identifier for the object.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14