Revit 2025 API
Analytical |
Sets the curve for the Analytical Member.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetCurve( Curve curve )
Public Sub SetCurve ( curve As Curve )
public: void SetCurve( Curve^ curve )
member SetCurve : curve : Curve -> unit
Parameters
- curve Curve

Exception | Condition |
---|---|
ArgumentException | The input curve is not bound. -or- The provided curve is not supported. |
ArgumentNullException | A non-optional argument was null |

End nodes connection will be lost if the curve changes position.
The curve must be bounded.
The curve can be:
- Line
- Arc
- Ellipse
See Also