set-default-density
See this command in the command table.
To access this command:
-
Using the command line, enter "set-default-density" and press ENTER.
-
Display the Find Command screen, locate
set-default-densityand click Run.
Command Overview
Set the rock or material 'default' density for the project.
This is used in the absence of a DENSITY field or where absent density values ('-') are encountered when evaluating block model or drillhole data.
This setting is not used by the command-line evaluation commands shown below:
- evaluate-1-string
- evaluate-2-strings
- evaluate-all-strings
- evaluate-all-strings-plane
- evaluate-wireframe
- evaluate-set-of-wireframes
For the above commands, a custom default density value is provided as part of the command.
Command steps:
-
Run the command.
-
Enter a Default Density for evaluation.
-
Click OK.
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:
-
'2.7'is thestrDefaultDensity: a string value parsed as numeric default density.
Parameters Table
| Parameter | Description | Reqd? | Example Syntax |
|---|---|---|---|
strDefaultDensity
|
A string value parsed as numeric default density. |
Y | '2.7'
|
