Stairs.IsByComponent
Method
Description:
Indicates if the stairs is created by stairs components(runs, landings and supports).
Indicates if the stairs is created by stairs components(runs, landings and supports).
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | The document. |
| stairsId | ElementId | The stairs element to check. |
Return Value
| Type | Description |
|---|---|
| Boolean | True if the stairs is created by components, False otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The element stairsId does not exist in the document |
| ArgumentNullException | A non-optional argument was null |