StageDesignItemDepth Property

Gets or sets the depth value for this item.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntax
public double Depth { get; set; }

Property Value

Double
The depth value in drawing units, measured from the bottom of the stormwater control facility.
Exceptions
ExceptionCondition
ArgumentException Thrown when setting a negative depth value, or when setting a depth value that already exists in another item within the same design table.
InvalidOperationException Thrown when attempting to modify the depth of the first item (index 0) in the design table. The first item serves as the base reference level and cannot be modified to maintain table integrity.
Remarks
When the depth is modified, all volume values in the design table are automatically recalculated. Each item in a design table must have a unique depth value to maintain table integrity and ensure proper volume calculations. Attempting to set a duplicate depth will result in an exception.

Important Constraint: The first item (index 0) in the design table cannot have its depth modified as it serves as the base reference level for the stormwater control facility. This ensures proper volume calculations and table integrity. Only items at index 1 and higher can have their depth values modified.

See Also