TurnoutSetCriticalPointStation Method

Set station for a critical point.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public void SetCriticalPointStation(
	string entryName,
	string criticalPointName,
	double station
)

Parameters

entryName  String
entry name.
criticalPointName  String
critical point name.
station  Double
 
Exceptions
ExceptionCondition
InvalidOperationException Thrown when Turnout.AutomaticUpdate is false.
[!:System.ArgumentException] Thrown when:
  • The critical point cannot be moved.
  • The station to set is out of main alignment station range.
InvalidOperationException Thrown when failing to set the custom parameter's value.
Remarks
The method set station for a critical point of turnout and recalculate the turnout geometry.
See Also