ObjectTableAddCurve Method (Curve, ObjectAttributes) |
Adds a curve object to Rhino.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic Guid AddCurve(
Curve curve,
ObjectAttributes attributes
)
Public Function AddCurve (
curve As Curve,
attributes As ObjectAttributes
) As Guid
Parameters
- curve
- Type: Rhino.GeometryCurve
A curve. 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.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also