Stairs |
StairsEditScope allows user to maintain a stairs-editing session.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)

The StairsEditScope type exposes the following members.

Name | Description | |
---|---|---|
![]() | StairsEditScope | Instantiates a StairsEditScope object. |

Name | Description | |
---|---|---|
![]() | IsActive | Tells if the EditScope is active. In other words, the EditScope has started but not committed/canceled yet. (Inherited from EditScope ) |
![]() | IsPermitted | Tells if the edit scope is permitted to start. (Inherited from EditScope ) |
![]() | IsValidObject | Specifies whether the .NET object represents a valid Revit entity. (Inherited from EditScope ) |

Name | Description | |
---|---|---|
![]() | Cancel | Cancels the edit scope. (Inherited from EditScope ) |
![]() | Commit | Finishes the edit scope. (Inherited from EditScope ) |
![]() | Dispose | (Inherited from EditScope ) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object ) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object ) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object ) |
![]() | Start(ElementId) | Starts an stairs edit mode for an existing Stairs element |
![]() | Start(ElementId, ElementId) | 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. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object ) |

Start/end of a StairsEditScope will start/end a transaction group. After a StairsEditScope is started, user can start transactions and edit the stairs. Individual transactions the user creates inside StairsEditScope will not appear in the undo menu. All transactions committed during the edit mode will be merged into a single one which will bear the given name passed into StairsEditScope constructor.
