TurnoutSetCriticalPointStation Method |
Set station for a critical point.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic void SetCriticalPointStation(
string entryName,
string criticalPointName,
double station
)
Public Sub SetCriticalPointStation (
entryName As String,
criticalPointName As String,
station As Double
)
public:
void SetCriticalPointStation(
String^ entryName,
String^ criticalPointName,
double station
)
Parameters
- entryName String
- entry name.
- criticalPointName String
- critical point name.
- station Double
-
ExceptionsException | Condition |
---|
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