SetPointRelativeElevation Method

Sets a point's elevtion, with the elevation value specified either as an absolute elevation, or a relative to surface elevation.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0

Syntax

C#

public void SetPointRelativeElevation(
	Point3d pt,
	bool relative,
	double elevation
)

Visual Basic

Public Sub SetPointRelativeElevation ( _
	pt As Point3d, _
	relative As Boolean, _
	elevation As Double _
)

Visual C++

public:
void SetPointRelativeElevation(
	Point3d pt, 
	bool relative, 
	double elevation
)

Parameters

pt
Type: Point3d
The specified point on the feature line.
relative
Type: System.Boolean
elevation
Type: System.Double

Exceptions

ExceptionCondition
System.ArgumentException Thrown when: The specified point is not on the feature line or when there is no relative surface.

See Also