erase-drillhole ("esd")

See this command in the command table.

To access this command:

  • Data ribbon > Load > Unload > Delete Static Holes.

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

  • Use the quick key combination "erd".

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

Command Overview

Erase selected static drillhole(s) from memory. For information on deleting dynamic drillhole data, see erase-all-dynamic-drillholes.

Command steps:

  1. Optionally, preselect visible static drillhole data in a 3D window.

  2. Run the command.

  3. If not already selected, select the required static drillhole(s) individually or with a selection box.

  4. Confirm the deletion of data.

  5. Click Done.

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

Where:

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

  • 'yes' is the confirmToken: a string value and expects yes or no (quoted and unquoted variants are accepted in different delete paths).

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 value parsed as part of @point input. Enumerated types are:

    • 1: Left mouse button behaviour

    • 2: Middle mouse button behaviour

    • 4: Right mouse button behaviour

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

A string value and expects yes or no (quoted and unquoted variants are accepted in different delete paths).

Y 'yes'

Related topics and activities