ChannelSetStationRange Method

Set the channel station range.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntax
public bool SetStationRange(
	double startStation,
	double endStation
)

Parameters

startStation  Double
The start station of the channel.
endStation  Double
The end station of the channel.

Return Value

Boolean
Exceptions
ExceptionCondition
BackwardCompatibilityException Thrown when getting/setting value and data is not compatible with the current version of the channel. Try to fix by upgrading the channel.
ForwardCompatibilityException Thrown when getting/setting value and data is not compatible with the current version of the channel. Try to fix by opening the drawing in a newer version of the product.
ArgumentException Thrown when:
  1. Start station or end station is out of baseline's station range.
  2. The end station is less than the start station.
See Also