Share

Stairs.IsByComponent Method

Indicates if the stairs is created by stairs components(runs, landings and supports).


Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static bool IsByComponent(
	Document document,
	ElementId stairsId
)

Parameters

document  Document
The document.
stairsId  ElementId
The stairs element to check.

Return Value

Boolean
True if the stairs is created by components, False otherwise.

Exceptions

ExceptionCondition
ArgumentException The element stairsId does not exist in the document
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?