Sets the slope at the specified segment type.

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

Syntax

C#
public void SetSlope(
	SuperelevationCrossSegmentType crossSegmentType,
	double slope
)
Visual Basic
Public Sub SetSlope ( _
	crossSegmentType As SuperelevationCrossSegmentType, _
	slope As Double _
)
Visual C++
public:
void SetSlope(
	SuperelevationCrossSegmentType crossSegmentType, 
	double slope
)

Parameters

crossSegmentType
Type: Autodesk.Civil..::..SuperelevationCrossSegmentType
The type of a Superelevation cross segment.
slope
Type: System..::..Double
The slope value of the current SuperelevationCriticalStation.

Exceptions

ExceptionCondition
System..::..InvalidOperationException Thrown when the crossSegmentType is invalid for the current SuperelevationCriticalStation object.

See Also