DisconnectLevels Method


Multistory Stairs Disconnect Levels Method

Shrinks the multistory stairs by disconnecting input levels.

Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public void DisconnectLevels(
	ISet<ElementId> levelIds
)

Parameters

levelIds ISet ElementId
The level ids.
Exceptions
Exception Condition
ArgumentException This multistory stairs cannot disconnect from one or more members of levelIds.
ArgumentNullException A non-optional argument was null
Remarks
If you remove a stairs that is connected at the top and bottom to another level stairs, the remaining stairs will automatically adjust to maintain the multistory stairs. The stairs above the one that is removed extends to attach to the stairs on the level below the one that is removed. You cannot disconnect the levels of standard stair (the stair associated with the Reference Level for the multistory stairs) or already disconnected.
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 →