Checks whether automatic landing(s) can be created between the given two stairs runs and
logically join(s) with the stairs runs.
Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static bool CanCreateAutomaticLanding( Document document, ElementId firstRunId, ElementId secondRunId )
Parameters
- document Document
- The document that owns the stairs runs.
- firstRunId ElementId
- The first stairs run.
- secondRunId ElementId
- The second stairs run.
Return Value
BooleanTrue if automatic landing(s) can be created between the two stairs runs, False otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |