RhinoCommon API
ObjectTableAddPolyline Method (IEnumerablePoint3d, ObjectAttributes) |
Adds a polyline object to Rhino.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

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 Polyline; 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.
