Revit 2025.3 API
Stairs |
Sets the boundary and path curves of the sketched landing.
Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void SetSketchedLandingBoundaryAndPath( Document document, CurveLoop boundaryCurveLoop, CurveLoop pathCurveLoop )
Public Sub SetSketchedLandingBoundaryAndPath ( document As Document, boundaryCurveLoop As CurveLoop, pathCurveLoop As CurveLoop )
public: void SetSketchedLandingBoundaryAndPath( Document^ document, CurveLoop^ boundaryCurveLoop, CurveLoop^ pathCurveLoop )
member SetSketchedLandingBoundaryAndPath : document : Document * boundaryCurveLoop : CurveLoop * pathCurveLoop : CurveLoop -> unit
Parameters
| Exception | Condition |
|---|---|
| ArgumentException | The boundaryCurveLoop is not closed. -or- The input boundaryCurveLoop contains at least one curve which is not a bound Line or bound Arc and is not supported for this operation. -or- The input pathCurveLoop contains at least one curve which is not a bound Line or bound Arc and is not supported for this operation. -or- Failed to create curve element by the boundaryCurveLoop or pathCurveLoop. |
| ArgumentNullException | A non-optional argument was null |
This should be run from within an open transaction.
See Also