CANTCriticalStationCollectionAdd(Double, SuperelevationCriticalStationType, SuperelevationAttainmentRegionType) Method

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

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public void Add(
	double station,
	SuperelevationCriticalStationType criticalStationType,
	SuperelevationAttainmentRegionType attainmentRegionType
)

Parameters

station  Double
The station value on the alignment object.
criticalStationType  SuperelevationCriticalStationType
The type of the critical station.
attainmentRegionType  SuperelevationAttainmentRegionType
 
Exceptions
ExceptionCondition
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.
InvalidOperationException Thrown when:
  1. The criticalStationType is BeingAlignment or EndAlignment.
  2. There is no design speed data on the alignment.
See Also