StageDesignCollectionRemoveByDepth Method |
Removes the item with the specified depth from the collection.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntaxpublic void RemoveByDepth(
double depth
)
Public Sub RemoveByDepth (
depth As Double
)
public:
void RemoveByDepth(
double depth
)
Parameters
- depth Double
- The depth value of the item to remove.
Exceptions| Exception | Condition |
|---|
| ArgumentException |
Thrown when no item with the specified depth exists.
Parameter name: depth
|
| InvalidOperationException |
Thrown when attempting to remove the first item (depth 0.0) which represents the bottom of the facility.
|
Remarks
All volume calculations in the design table are automatically updated when an item is removed.
This method uses fuzzy equality comparison for floating-point depth values.
Note: Cannot remove the item at depth 0.0 (facility bottom)
See Also