Execute Script

Use this option to execute a script that was created through the Edit Script option. The script will apply the conditions and expressions to each block, then store the results in the block model.


Instructions

On the Block menu, point to Manipulation, then click Execute Script.

Follow these steps:

  1. Select the Script file. All block model scripts (.bcf) in the working directory are displayed in the drop-down list. Click Browse to select a script from another directory.

  2. Select a Block model. All block models (.bmf) in the working directory are displayed in the drop-down list. Click Browse to select a script from another directory.

  3. Select Recurse calculation through a triangulation selection file to use a triangulation selection file (.sel) as bounding triangulations for the block model.

    Note:  If this option is selected, the subsequent Block Selection panel will not display the Bounding triangulation option.

    Click the Build option after choosing your selection file. You will then be prompted to select the triangulation file(s) to use as boundaries for the calculation. Once the files are selected, you will be prompted to enter a name for the new selection file that will be created.

  4. Select Check script for auxiliary variables to validate the block model variables in the script.

  5. Click OK to run the script.

  6. The Block Selection panel is then displayed, so that any condition can be restricted to blocks matching a particular condition. For example, where the geology matches a certain value or the grade value falls within a particular range.

    Available options:

  7. Click OK to complete the operation, or click Cancel to exit the option without saving.