RhinoCommon API
ObjectTableAddLine Method (Line, ObjectAttributes) |
Adds a line object to Rhino.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)

public Guid AddLine( Line line, ObjectAttributes attributes )
Public Function AddLine ( line As Line, attributes As ObjectAttributes ) As Guid
Parameters
- line
- Type: Rhino.GeometryLine
The line value. - 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.8