TopographySurface.ChangePointElevation
Description:
Changes the elevation value for a point.
Changes the elevation value for a point.
Remarks:
If the point doesn't exist in the current TopographySurface, an exception will be thrown. This applies to a TopographySurface element (not a SiteSubRegion or a topography surface associated with a BuildingPad), which should be in an active TopographyEditScope.
If the point doesn't exist in the current TopographySurface, an exception will be thrown. This applies to a TopographySurface element (not a SiteSubRegion or a topography surface associated with a BuildingPad), which should be in an active TopographyEditScope.
public void ChangePointElevation(
XYZ point,
double elevationValue
)
-
pointThe point to be modified.
-
DoubleelevationValueThe new elevation value.
-
The input point does not exist in the current topography surface.
-
A non-optional argument was NULL
-
The given value for elevationValue must be no more than 30000 feet in absolute value.
-
This element is not a TopographySurface. -or- The points of this topography surface are not editable. -or- The TopographySurface element is not in an active TopographyEditScope. Modification cannot be made on this TopographySurface.
-
The document containing this TopographySurface is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements). -or- The document containing this TopographySurface is being loaded, or is in the midst of another sensitive process.
-
The document containing this TopographySurface has no open transaction.