The base class for a scope object that provides special access and limitations related to editing certain elements.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.EditScope
Autodesk.Revit.DB.Architecture.TopographyEditScope
Autodesk.Revit.DB.SketchEditScope
Autodesk.Revit.DB.StairsEditScope
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public class EditScope : IDisposable
The EditScope type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| IsActive | Tells if the EditScope is active. In other words, the EditScope has started but not committed/canceled yet. | |
| IsPermitted | Tells if the edit scope is permitted to start. | |
| IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
Methods
| Name | Description | |
|---|---|---|
| Cancel | Cancels the edit scope. | |
| Commit | Finishes the edit scope. | |
| Dispose | Releases all resources used by the 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) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
