move-string("mo")

See this command in the command table.

To access this command:

  • Digitize ribbon > Transform > Move.

  • Using the command line, enter "move-string" and press ENTER.

  • Use the quick key combination "mo".

  • Display the Find Command screen, locate move-string and click Run.

Command Overview

Moves a selected string interactively.

Command steps:

  1. Run the command.

  2. Select a reference point on the required string by clicking and holding either the left-mouse-button (for freeform repositioning) or the right-mouse-button (for dynamic snapping).

  3. With the mouse button held down, move the cursor to dynamically reposition the string.

  4. Release the mouse button to set the final position for the string.

  5. Click Cancel.

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("move-string @point=100.0,200.0,0.0,1 @point=110.0,210.0,0.0,1";

Where:

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

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 from @point input. (Parameter is not actually used so can be left as the example and ignored).

Y @point=100.0,200.0,0.0,1

Related topics and activities