PondGetContours Method

Returns a collection of PondContour objects representing the contours that define a contour-based pond.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntax
public PondContourCollection GetContours()

Return Value

PondContourCollection
A PondContourCollection containing PondContour objects representing the pond contours, ordered from outermost (largest area) to innermost (smallest area).
Exceptions
ExceptionCondition
InvalidOperationException Thrown when the pond is not contour-based.
Remarks
The contours are sorted by area in descending order (outermost to innermost). The pond's outer boundary will always be the first contour in the collection. Each PondContour represents a contour at a specific elevation.
See Also