copy-string("cps")
See this command in the command table.
To access this command:
-
Digitize ribbon > Transform > Copy.
-
Using the command line, enter "copy-string" and press ENTER.
-
Use the quick key combination "cps".
-
Display the Find Command screen, locate
copy-stringand click Run.
Command Overview
Make a copy of a selected string in another location, leaving the original string as it is.
Note: data is always copied into the current string object, regardless of the target object. See The Current Object .
Command steps:
-
Ensure string data is loaded and displayed.
-
Run the command.
-
Select a point on the string you wish to copy.
-
Select the position of the same point on the new, copied string.
The string is copied to the new position, aligning the digitized points. Movement is performed across the currently active section.
-
Click Done (or double-click) to stop editing.
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("copy-string @point=-27.533174,10.168432,0.0,1 @point=-26.900000,11.050000,0.0,1";
Where:
-
@point=-27.533174,10.168432,0.0,1is the@point=X,Y,Z,nButton: comma-delimited point group (repeatable).
Parameters Table
| Parameter | Description | Reqd? | Example Syntax |
|---|---|---|---|
@point=X,Y,Z,nButton
|
Comma-delimited point group (repeatable).
|
Y | @point=-27.533174,10.168432,0.0,1
|
Related topics and activities
