GetAllStairsIds Method

Gets the ids of all the stairs in this multistory stairs.

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


public ISet<ElementId> GetAllStairsIds()
Visual Basic
Public Function GetAllStairsIds As ISet(Of ElementId)
Visual C++
ISet<ElementId^>^ GetAllStairsIds()

Return Value

The ids of the stairs elements that govern groups of stairs, and the stairs elements that represent individual stairs.


Stairs elements returned by this method will either be members of groups of identical stairs instances which share the same level height, or individual Stairs instances which are not connected to a group with the same level height. Use IsPinned(Stairs) to identify if a Stairs is a member of a group or not.

See Also