Registers both the underlying 3D pit (ExcavationPit) and a UI control item (GeListItem)
with full callback support for interactive show/hide, depth editing, and removal.
Method
execute(app, cartesians, name, depth)
Param: app
The application instance.
Param: cartesians
Array of surface positions for the new pit.
Param: name
Display name for the pit (auto-generated if not given).
Param: depth
Initial excavation depth (optional; uses min/max Z if not provided).
AddExcavationPit – Command to create and register a new excavation pit, including UI integration in a list component and bi-directional data binding.
Extends the Command interface.
Registers both the underlying 3D pit (ExcavationPit) and a UI control item (GeListItem) with full callback support for interactive show/hide, depth editing, and removal.
Method
execute(app, cartesians, name, depth)
Param: app
The application instance.
Param: cartesians
Array of surface positions for the new pit.
Param: name
Display name for the pit (auto-generated if not given).
Param: depth
Initial excavation depth (optional; uses min/max Z if not provided).
Example