Revit 2025.3 API
StairsIs |
Indicates if the stairs is created by stairs components(runs, landings and supports).
Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static bool IsByComponent( Document document, ElementId stairsId )
Public Shared Function IsByComponent ( document As Document, stairsId As ElementId ) As Boolean
public: static bool IsByComponent( Document^ document, ElementId^ stairsId )
static member IsByComponent : document : Document * stairsId : ElementId -> bool
Parameters
Return Value
BooleanTrue if the stairs is created by components, False otherwise.

Exception | Condition |
---|---|
ArgumentException | The element stairsId does not exist in the document |
ArgumentNullException | A non-optional argument was null |
See Also