Adds a point to the GridSurface.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public SurfaceOperationAddGridPoint AddPoint( GridLocation location, double elevation )
Visual Basic
Public Function AddPoint ( _ location As GridLocation, _ elevation As Double _ ) As SurfaceOperationAddGridPoint
Visual C++
public: SurfaceOperationAddGridPoint^ AddPoint( GridLocation location, double elevation )
Parameters
- location
- Type: Autodesk.Civil.DatabaseServices.GridLocation
The location where the grid point will be added.
- elevation
- Type: System.Double
The elevation of the grid point to be added.
Exceptions
Exception | Condition |
---|---|
Autodesk.Civil.SurfaceException | Thrown when this operation fails, for example because a point has already been defined in the same column and row. |