EditScope
Description:
The base class for a scope object that provides special access and limitations related to editing certain elements.
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.
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
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 |
|---|---|---|---|
| Cancel() | None | Cancels the edit scope. | |
| Commit(IFailuresPreprocessor) | None | Finishes the edit scope. | |
| Dispose() | None | Releases all resources used by the EditScope | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IsActive | bool | Tells if the EditScope is active. In other words, the EditScope has started but not committed/canceled yet. | |
| IsPermitted | bool | Tells if the edit scope is permitted to start. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. |