Share

Railing.GetMultistoryStairsPlacementLevels Method

Gets the ids of the base levels of the stairs upon which this railing is placed.


Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public ISet<ElementId> GetMultistoryStairsPlacementLevels()

Return Value

ISet<ElementId>
The ids of levels the railing is placed on. The returned set consists of a subset of the base level ids of the corresponding stairs in the MultistoryStairs.

Exceptions

ExceptionCondition
InvalidOperationException The railing is not hosted by stairs in MultistoryStairs.

Remarks

The method is valid only for railings hosted by stairs in MultistoryStairs.

See Also

Reference

Was this information helpful?