Underground |
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:
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}