Starts a topography surface edit mode for an existing TopographySurface element.
Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public ElementId Start( ElementId topoSurfaceId )
Parameters
- topoSurfaceId ElementId
- The TopographySurface element to be edited.
Return Value
ElementIdThe Id of the topography Surface being edited.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The ElementId topoSurfaceId does not represent a TopographySurface. |
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | This TopographyEditScope is not permitted to start at this moment for one of the following possible reasons: The document is in read-only state, or the document is currently modifiable, or there already is another edit mode active in the document. |