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-drillholeand 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):
Where:
-
@point=100.0,200.0,0.0,1is theParsePointArguments: X,Y,Z,nButton. -
'BHID'is thestrArgument: a string value used as script parameter for conversion context.
Parameters Table
| Parameter | Description | Reqd? | Example Syntax |
|---|---|---|---|
ParsePointArguments
|
X,Y,Z,nButton.
|
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
