Revit 2025.3 API
Line |
Sets the curve for the line load.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.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 |
| InvalidOperationException | This LineLoad is not a hosted load. -or- This LineLoad is a constrained load. |
The curve must be bounded.
The curve can be:
- Line
- Arc
- Ellipse
See Also