Creates a new empty stairs element with a default stairs type in the specified levels
and then starts stairs edit mode and editing the new stairs.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public ElementId Start( ElementId baseLevelId, ElementId topLevelId )
Parameters
- baseLevelId ElementId
- The base level on which the stairs is to be placed.
- topLevelId ElementId
- The top level where the stairs is to reach.
Return Value
ElementIdElementId of the new stairs.
Exceptions
Exception | Condition |
---|---|
ArgumentException | It is not a Level's id. -or- Top level should be higher than base level. |
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | This StairsEditScope is not permitted to start at this moment for one of the following possible reasons: The document is in read-only state, or the document is currently modifiable, or there already is another edit mode active in the document. |