erase-string ("ers")
See this command in the command table.
To access this command:
-
Home ribbon > Unload > Strings.
-
Data ribbon > Unload > Strings.
-
Draw (Sketches) ribbon > Edit > Delete Strings.
-
Using the command line, enter "erase-string" and press ENTER.
-
Use the quick key combination "ers".
-
Display the Find Command screen, locate
erase-stringand click Run.
Command Overview
Erase (delete) string(s) from memory. If string data is preselected, it is deleted when the command is run (after confirmation), otherwise, string data can be picked interactively after running the command.
Note: physical string file data is not affected by the command until the data object is saved.
Command steps:
-
Optionally, preselect string data in a 3D window.
-
Run the command.
-
If no string was selected before running the command, select individual (left or right-click) or drag a selection box over multiple strings.
-
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):
Where:
-
@point=100.0,200.0,0.0,1is theParsePointArguments: X,Y,Z,nButton. -
'yes'is theconfirmToken: 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.
|
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
