TopographyEditScope
Description:
A TopographyEditScope allows an application to create and maintain an editing session for a TopographySurface.
A TopographyEditScope allows an application to create and maintain an editing session for a TopographySurface.
Remarks:
Start/end of a TopographyEditScope will start/end a transaction group. After a TopographyEditScope is started, an application can start transactions and edit the topography surface. Individual transactions the application creates inside TopographyEditScope will not appear in the undo menu. All transactions committed during the edit mode will be merged into a single one which will bear the given name passed into TopographyEditScope constructor.
Start/end of a TopographyEditScope will start/end a transaction group. After a TopographyEditScope is started, an application can start transactions and edit the topography surface. Individual transactions the application creates inside TopographyEditScope will not appear in the undo menu. All transactions committed during the edit mode will be merged into a single one which will bear the given name passed into TopographyEditScope constructor.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.EditScope
Autodesk.Revit.DB.Architecture.TopographyEditScope
System.Object
Autodesk.Revit.DB.EditScope
Autodesk.Revit.DB.Architecture.TopographyEditScope
public class TopographyEditScope : EditScope
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| TopographyEditScope(Document, String) | None | Instantiates a TopographyEditScope object. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Start(ElementId) | ElementId | Starts a topography surface edit mode for an existing TopographySurface element. | |
| Cancel() | None | Cancels the edit scope. | EditScope |
| Commit(IFailuresPreprocessor) | None | Finishes the edit scope. | EditScope |
| Dispose() | None | Releases all resources used by the | EditScope |
| 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. | EditScope |
| IsPermitted | bool | Tells if the edit scope is permitted to start. | EditScope |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | EditScope |