RhinoCommon API
File3dmObjectTableAddLine Method (Line, ObjectAttributes) |
Adds a line object to Rhino.
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public Guid AddLine( Line line, ObjectAttributes attributes )
Public Function AddLine ( line As Line, attributes As ObjectAttributes ) As Guid
Parameters
- line
- Type: Rhino.GeometryLine
A line. - attributes
- Type: Rhino.DocObjectsObjectAttributes
Attributes to apply to line.
Return Value
Type: GuidA unique identifier for the object.
