Click or drag to resize
File3dmObjectTableAddPolyline Method (IEnumerablePoint3d, ObjectAttributes)
Adds a polyline object to Rhino.

Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public Guid AddPolyline(
	IEnumerable<Point3d> points,
	ObjectAttributes attributes
)

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: Guid
A unique identifier for the object.
See Also