GetStairsPath Method


Returns the stairs path curves on the run. The curves are projected on base level of the stairs.

Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2013

Syntax

C#
public CurveLoop GetStairsPath()
Visual Basic
Public Function GetStairsPath As CurveLoop
Visual C++
public:
CurveLoop^ GetStairsPath()

Return Value

The stairs path curves.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions InvalidOperationException The stairs run has no stairs path it probably because the run was not generated yet.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →