Create a symbolic curve in an Autodesk Revit family document.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public SymbolicCurve NewSymbolicCurve( Curve curve, SketchPlane sketchPlane )
Parameters
- curve Curve
- The geometry curve of the newly created symbolic curve.
- sketchPlane SketchPlane
- The sketch plane for the symbolic curve.
Return Value
SymbolicCurveThe newly created symbolic curve.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when argument is null. |
InvalidOperationException | Thrown when regeneration failed. Thrown when symbolic curve creation failed. |