Select/Deselect Holes by Name or Mask

There are a variety of methods available in the Drillhole system to select the drillholes.

To Select Drillholes by Name or Name Mask (wild-card characters allowed):
  1. On the DH-Plot menu, click Select Holes and then select Select/Deselect Name or Mask.
    The Select/Deselect Name or Mask dialog will appear.

  2. In the Name mask (* and ? accepted) box, specify the hole(s) and using the Select or de-select drop-down list, specify if you want to select or de-select the data.

  3. From the Overwrite or append drop-down list select:

    • "Overwrite" to update the selection state of every hole, based on whether the hole name matches the name mask.
    • "Append" and only holes matching the input mask will have their selection state altered, enabling this tool to be used in a cumulative mode.
  4. Click OK to select drillholes by name.

Use the option DH-Plot > Select Holes > Select/Deselect Name or Mask (DHSLNAME GX) to select holes by name with wild-card characters.

Select/Deselect Name or Mask dialog options

Name or mask (* and ? accepted)

Enter a name mask to be used for selecting or deselecting holes.

Script Parameter: DHSLNAME.MASK

Select or de-select

Choose to select or de-select hole names that match the name mask. 0 - de-select; 1 - select.

Script Parameter: DHSLNAME.SELECT

Overwrite or append

Select to whether to update the selection state of every hole (Overwrite) or just those matching the name mask (append).

Script Parameter: DHSLNAME.MODE

Application Notes

Overwrite Mode

The selection state of every hole is updated, based on whether the hole name matches the name mask. If you select "A*", and "Select", then only those holes beginning with "A" will be selected afterward. If you choose "De-select", then the exact opposite occurs, and every hole except those beginning with "A" will be selected.

Append Mode

Only holes matching the input mask have their selection state altered, so this tool can be used in a cumulative mode: for instance, if you select "A*" and "Select", then you would have selected all the holes previously selected, plus all those beginning with "A".

Name Masks

The name selection is case insensitive.

Mask character ‘*’ will match any character string up to the last match of the following character string (including no characters).

Mask character ‘?’ will match any one character.

Mask examples (for holes "S0620", "S0630", "s620", and "S06"):

*

matches all holes

*6*

matches all holes

*6

matches "S06"

*0

matches "S0620", "S0630" and "s620"

s*

matches "s620"

??6*

matches "S0620", "S0630", and "S06"