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 Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →