PondSetContours Method

Sets 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 void SetContours(
	PondContourCollection contourCollection
)

Parameters

contourCollection  PondContourCollection
A PondContourCollection containing the contours to set on the pond.
Exceptions
ExceptionCondition
ArgumentException Thrown when:
  1. The contour collection is null, empty, or contains fewer than two contours.
  2. A contour in the collection contains unsupported pond geometry.
InvalidOperationException Thrown when:
  1. The pond is not contour-based.
  2. 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