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