delete-points-mode ("dpo")

See this command in the command table.

To access this command:

  • Digitize ribbon > Edit > Delete Points.

  • Edit ribbon > Edit > Delete Segment.

  • Using the command line, enter "delete-points-mode" and press ENTER.

  • Use the quick key combination "dpo".

  • Display the Find Command screen, locate delete-points-mode and click Run.

Command Overview

Deletes vertices (points) in any selected or non-selected string(s) or point(s) nearest to the cursor.

You can undo and redo command actions.

To delete points on previously selected string(s) or point(s):

  1. Select the string(s) or point(s) to be modified.

  2. Run the command.

  3. If a string(s) has been selected, individually select (left-click or right-click) the required string point(s).

  4. Click Done to complete the command.

To delete points where no string(s) or point(s) data is preselected:

  1. Run the command.

  2. For string data, individually select (left-click or right-click) the required point(s). For points data, pick the points to delete.

  3. Click Done to complete the command.

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("delete-points-mode @point=100.0,200.0,0.0,12 'yes'";

Where:

  • @point=100.0,200.0,0.0,12 is the ParsePointArguments: an @point group with 4 comma-delimited values: X,Y,Z,nButton .

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

Parameters Table

Parameter Description Reqd? Example Syntax
ParsePointArguments

An @point group with 4 comma-delimited values: X,Y,Z,nButton .

  • X : numeric (double) world coordinate value.

  • Y : numeric (double) world coordinate value.

  • Z : numeric (double) world coordinate value.

  • nButton : integer value. Enumerated types are: 1: Left mouse button behavior 2: Middle mouse button behavior 4: Right mouse button behavior 12: Enables snapping for the scripted pick.

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

String value. Valid values are yes or no (quoted and unquoted variants are accepted in different delete paths).

Y 'yes'

Related topics and activities