string-to-drillhole ("stdh")

See this command in the command table.

To access this command:

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

  • Use the quick key combination "stdh".

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

Command Overview

Convert a string to a drillhole using the String to Drillhole screen.

As BHID is a mandatory field for drillholes, this command displays the Strings to Drillholes screen where you must pick either:

  • An existing Attribute Column containing BHID, or;

  • Enter your own Drillhole BHID to be used for the selected string data.

Click OK to create a drillhole based on the string data.

Note: The original string data is retained, not replaced.

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("string-to-drillhole @point=100.0,200.0,0.0,1 'BHID'";

Where:

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

  • 'BHID' is the strArgument: a string value used as script parameter for conversion context.

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 script parameter for conversion context.

Y 'BHID'

Related topics and activities