rename-drillhole ("rnd")

See this command in the command table.

To access this command:

  • Use the quick key combination "rnd".

  • Using the command line, enter "rename-drillhole" and press ENTER.

  • Display the Find Command screen, locate rename-drillhole and click Run.

Command Overview

Interactively rename drill holes.

Command steps:

  1. Load a display some drillhole data in a 3D window.

  2. Either select data before running the command or after.

  3. Run the command.

  4. If no drillholes are selected, you are prompted to choose one. If one drillhole is selected, enter a new Hole identifier (the existing value displays here).

    Note: If multiple holes were previously selected, select one with the selection group to rename.

  5. Click OK.

    The drillhole ID changes to the one specified.

Command Automation

You can automate by passing this command and parameters into oDmApp.ParseCommand(), using any COM-aware scripting language.

Note: For more information on scripting in Studio NPVS+, please refer to your Scripting Tutorial (Help > Scripting Tutorial).

Example Parameter String (JS):

oDmApp.ParseCommand("rename-drillhole @point=100.0,200.0,0.0,1 'NEW_BHID'";

Where:

  • @point=100.0,200.0,0.0,1 is the ParsePointArguments: X,Y,Z,nButton.

  • 'NEW_BHID' is the strArgument: a string value used as rename script parameter.

Parameters Table

Parameter Description Reqd? Example Syntax
ParsePointArguments

X,Y,Z,nButton.

  • X is a numeric (double) world coordinate value.

  • Y is a numeric (double) world coordinate value.

  • Z is a numeric (double) world coordinate value.

  • nButton is an integer parsed in @point input. (Parameter is not actually used so can be left as the example and ignored).

Y @point=100.0,200.0,0.0,1
strArgument

A string value used as rename script parameter.

Y 'NEW_BHID'