UndergroundStorageGetStageDesign Method

Gets a StageDesignCollection containing the design table data for the underground storage.

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

Return Value

StageDesignCollection
A StageDesignCollection object containing the design table data, or null if no design table is available.
Remarks
The returned table contains depth, footprint area, void ratio, and volume data for different levels within the underground storage facility. The table is sorted by depth from the bottom to top of the facility.

IMPORTANT: The returned table is a disconnected copy of the data. Any modifications to the table or its records will NOT be automatically saved back to the underground storage. You must call SetStageDesign() to apply changes back to the UGS object.

This method is only available for UndergroundStorage objects, not for Pond objects. Naming aligns with GetStageStorage for consistency.

Example:

C#
 1var ugs = trans.GetObject(ugsId, OpenMode.ForWrite) as UndergroundStorage;
 2var designTable = ugs.GetStageDesign();
 3if (designTable != null)
 4{
 5    // Modify the table (e.g., add records, change void ratios)
 6    designTable.Add(3.0); // Add record at 3.0m depth
 7
 8    // Save changes back to UGS
 9    ugs.SetStageDesign(designTable);
10}
See Also