Sets 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.4.0.0 (26.4.0.0)
Syntax
C#
public void SetMultistoryStairsPlacementLevels( ISet<ElementId> levelIds )
Parameters
- levelIds ISet<ElementId>
- The ids of levels the railing is placed on. If input level id set is empty, railings will placed on all levels of the hosting stairs.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | All of the level ids in levelIds must be placement levels of stairs. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | The railing is not hosted by stairs in MultistoryStairs. |
