ChannelSetStationRange Method |
Set the channel station range.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntaxpublic bool SetStationRange(
double startStation,
double endStation
)
Public Function SetStationRange (
startStation As Double,
endStation As Double
) As Boolean
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| Exception | Condition |
|---|
| 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:
- Start station or end station is out of baseline's station range.
- The end station is less than the start station.
|
See Also