Adds a CANTCriticalStation of the specified transition type at the specified station.

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

Syntax

C#
public void Add(
	double station,
	SuperelevationCriticalStationType criticalStationType,
	SuperelevationAttainmentRegionType attainmentRegionType
)
Visual Basic
Public Sub Add ( _
	station As Double, _
	criticalStationType As SuperelevationCriticalStationType, _
	attainmentRegionType As SuperelevationAttainmentRegionType _
)
Visual C++
public:
void Add(
	double station, 
	SuperelevationCriticalStationType criticalStationType, 
	SuperelevationAttainmentRegionType attainmentRegionType
)

Parameters

station
Type: System..::..Double
The station value on the alignment object.
criticalStationType
Type: Autodesk.Civil..::..SuperelevationCriticalStationType
The type of the critical station.
attainmentRegionType
Type: Autodesk.Civil..::..SuperelevationAttainmentRegionType

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when:
  1. The station value is out of the range of alignment's stations.
  2. The critical station type does not match the attainment region type.
System..::..InvalidOperationException Thrown when:
  1. The criticalStationType is BeingAlignment or EndAlignment.
  2. There is no design speed data on the alignment.

See Also