Share

EditScope Class

The base class for a scope object that provides special access and limitations related to editing certain elements.

Inheritance Hierarchy

System.Object
  Autodesk.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: 25.3.0.0 (25.3.0.0)

Syntax

C#

public class EditScope : IDisposable

The EditScope type exposes the following members.

Properties

 NameDescription
Public propertyIsActive Tells if the EditScope is active. In other words, the EditScope has started but not committed/canceled yet.
Public propertyIsPermitted Tells if the edit scope is permitted to start.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.

Methods

 NameDescription
Public methodCancel Cancels the edit scope.
Public methodCommit Finishes the edit scope.
Public methodDisposeReleases all resources used by the EditScope
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

Remarks

Derivations of this class provide specific functionality to manage edit modes for specific purposes.

See Also

Reference

Was this information helpful?