### Get Intervals Below Depth with Product Source: https://help.maptek.com/blastlogic/2025.2/topics/quick-reference/charge-rule-api/object-interfaces Returns a list of intervals for decks containing specified products that extend below a given depth. An optional tolerance can be provided to extend the interval slightly above the depth, preventing the splitting of decks if they only partially overlap the depth. This is useful for selecting explosive products below a water level for replacement. ```javascript hole.productsBelow(products, depth, tolerance=0) ``` -------------------------------- ### Get Total Explosive Mass Source: https://help.maptek.com/blastlogic/2025.2/topics/quick-reference/charge-rule-api/object-interfaces Calculates and returns the total mass of explosives, in kilograms, that have been allocated to the hole up to the current point. ```javascript hole.totalExplosiveMass() ``` -------------------------------- ### Get Unallocated Interval Source: https://help.maptek.com/blastlogic/2025.2/topics/quick-reference/charge-rule-api/object-interfaces Returns an interval representing the portions of the hole that have not yet been assigned any product. This identifies areas available for further allocation. ```javascript hole.unallocated() ``` -------------------------------- ### Calculate Average In Hole Density (Blast Product) Source: https://help.maptek.com/blastlogic/2025.2/topics/quick-reference/charge-rule-api/object-interfaces Calculates the average in hole density (kg/m^3) for a gassed product at a specified depth. Requires a density table to be added to the Blast Product Catalogue. Throws an error if no density table is provided. ```BlastLogic Script product.averageInHoleDensity (depth,openCupDensity) ```