RhinoCommon API
File3dmObjectTableAddCurve Method (Curve, ObjectAttributes) |
Adds a curve object to the table.
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)

public Guid AddCurve( Curve curve, ObjectAttributes attributes )
Public Function AddCurve ( curve As Curve, attributes As ObjectAttributes ) As Guid
Parameters
- curve
- Type: Rhino.GeometryCurve
A duplicate of this curve is added to Rhino. - attributes
- Type: Rhino.DocObjectsObjectAttributes
Attributes to apply to curve.
Return Value
Type: GuidA unique identifier for the object.

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