2022 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
M Cancel() None Cancels the edit scope.
M Commit(IFailuresPreprocessor) None Finishes the edit scope.
M Dispose() None Releases all resources used by the
Name Return Type Description
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 bool Specifies whether the .NET object represents a valid Revit entity.