Starts an stairs edit mode for an existing Stairs element
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public ElementId Start( ElementId stairsId )
Parameters
- stairsId ElementId
- The stairs element to be edited.
Return Value
ElementIdElementId of the editing stairs. It should be the same as the input stairsId
Exceptions
Exception | Condition |
---|---|
ArgumentException | It is not a Stair's id. -or- Stairs is not permitted to edit at this moment for the following reason: The Stairs is in an ElementGroup and it is not in Edit Group Mode. |
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. |