evaluate-2-strings ("ev2")

See this command in the command table.

To access this command:

  • Report ribbon > Evaluate > Strings > Two Strings.

  • Using the command line, enter "evaluate-2-strings" and press ENTER.

  • Use the quick key combination "ev2".

  • Display the Find Command screen, locate evaluate-2-strings and click Run.

Command Overview

Evaluate two selected strings, against either a block model or drillholes, produced by linking the selected to create a wireframe.

Evaluation results can be saved to a new object using the Save Results option on the Evaluation Results screen. Data is saved as a results object (visible in the Loaded Data and Project Data control bars) and can be saved to a physical file. Any existing evaluation results of the same name are overwritten.

This command displays the Evaluation Settings screen, followed by the Evaluation Results screen.

Note: you can evaluate against either model or drillhole data. This is set using the Project Settings screen (Mine Design > Evaluation Control).

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("evaluate-2-strings @point=100.0,200.0,0.0,1 @point=120.0,210.0,0.0,1 '10' 'yes'";

Where:

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

  • @point=120.0,210.0,0.0,1 is the second ParsePointArguments: X,Y,Z,nButton for the second picked string.

  • '10' is the strBlockID: a string value parsed as a numeric block identifier.

  • 'yes' is the strAcceptResults: a string value parsed to a yes/no intent. (Parameter is not actually used so can be left as the example and ignored).

Parameters Table

Parameter Description Reqd? Example Syntax
first ParsePointArguments

X,Y,Z,nButton for the first picked string.

Y @point=100.0,200.0,0.0,1
second ParsePointArguments

X,Y,Z,nButton for the second picked string.

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

Y @point=120.0,210.0,0.0,1
strBlockID

A string value parsed as a numeric block identifier.

Y '10'
strAcceptResults

A string value parsed to a yes/no intent. (Parameter is not actually used so can be left as the example and ignored).

N 'yes'

Related topics and activities