Adds a SuperelevationCriticalStation of the specified transition type at the specified station.
Adds a SuperelevationCriticalStation 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#
[ObsoleteAttribute("Use the override methods with attainment region type as input parameter instead.", 
	false)]
public void Add(
	double station,
	SuperelevationCriticalStationType criticalStationType
)
Visual Basic
<ObsoleteAttribute("Use the override methods with attainment region type as input parameter instead.",  _
	False)> _
Public Sub Add ( _
	station As Double, _
	criticalStationType As SuperelevationCriticalStationType _
)
Visual C++
public:
[ObsoleteAttribute(L"Use the override methods with attainment region type as input parameter instead.", 
	false)]
void Add(
	double station, 
	SuperelevationCriticalStationType criticalStationType
)

Parameters

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

Exceptions

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

See Also