Sets a collection of PondContour objects representing the contours that define a contour-based pond.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntaxpublic void SetContours(
PondContourCollection contourCollection
)
Public Sub SetContours (
contourCollection As PondContourCollection
)
public:
void SetContours(
PondContourCollection^ contourCollection
)
Parameters
- contourCollection PondContourCollection
- A PondContourCollection containing the contours to set on the pond.
Exceptions| Exception | Condition |
|---|
| ArgumentException |
Thrown when:
- The contour collection is null, empty, or contains fewer than two contours.
- A contour in the collection contains unsupported pond geometry.
|
| InvalidOperationException |
Thrown when:
- The pond is not contour-based.
- The geometry failed to be set on the pond.
|
| BackwardCompatibilityException |
Thrown when setting the value for a pond that was created by an older version of the product.
|
| ForwardCompatibilityException |
Thrown when setting the value for a pond that was created by a newer version of the product.
|
See Also