Revit 2025 API
Multistory |
Extends the multistory stairs by connecting input levels.
Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void ConnectLevels( ISet<ElementId> levelIds )
Public Sub ConnectLevels ( levelIds As ISet(Of ElementId) )
public: void ConnectLevels( ISet<ElementId^>^ levelIds )
member ConnectLevels : levelIds : ISet<ElementId> -> unit
Parameters
| Exception | Condition |
|---|---|
| ArgumentException | This multistory stairs cannot connect to one or more members of levelIds. |
| ArgumentNullException | A non-optional argument was null |
The added stairs will be categorized into different groups based on level heights automatically. Stairs with the same level height are considered a group and can be edited together.
You cannot connect the levels between standard stairs top and bottom or already connected.
See Also