Removes a particular story of the stairs (identified by its base level id) from a stairs group.
Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Stairs Unpin( ElementId levelId )
Parameters
- levelId ElementId
- The base level id. If the level id belongs to the base level of a unpinned stairs element, it returns the stairs id directly.
Return Value
StairsThe unpinned stairs element.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | There is no stairs instance at the given base levelId. |
| ArgumentNullException | A non-optional argument was null |
