2026 Class
Changes 2
C

EditScope

Description:
The base class for a scope object that provides special access and limitations related to editing certain elements.
Remarks:
Derivations of this class provide specific functionality to manage edit modes for specific purposes.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.EditScope
    Autodesk.Revit.DB.Architecture.TopographyEditScope
    Autodesk.Revit.DB.SketchEditScope
    Autodesk.Revit.DB.StairsEditScope
public class EditScope : IDisposable
Name Return Type Description Inherited From
M Cancel() None Cancels the edit scope.
M Commit(IFailuresPreprocessor) None Finishes the edit scope.
M Dispose() None Releases all resources used by the EditScope
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P IsActive bool Tells if the EditScope is active. In other words, the EditScope has started but not committed/canceled yet.
P IsPermitted bool Tells if the edit scope is permitted to start.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.