AssignElevationsFromSurface Method

Assigns elevations from surface.

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

Syntax

C#

public void AssignElevationsFromSurface(
	ObjectId surfaceId,
	bool bIncIntermediate
)

Visual Basic

Public Sub AssignElevationsFromSurface ( _
	surfaceId As ObjectId, _
	bIncIntermediate As Boolean _
)

Visual C++

public:
void AssignElevationsFromSurface(
	ObjectId surfaceId, 
	bool bIncIntermediate
)

Parameters

surfaceId
Type: ObjectId
The ObjectId of specified surface.
bIncIntermediate
Type: System.Boolean
Inserts intermediate grade break points or not.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when:
  1. The surfaceId is not an ObjectId of surface.
  2. The surface is not in the same database with feature line.

See Also