edit-point-coordinate ("epc")
See this command in the command table.
To access this command:
-
Digitize ribbon > Edit > Coordinate.
-
Using the command line, enter "edit-point-coordinate" and press ENTER.
-
Use the quick key combination "epc".
-
Display the Find Command screen, locate
edit-point-coordinateand click Run.
Command Overview
Edit the coordinates of the selected point or string vertex.
The following constraints should be considered when using this command:
- When only points are selected, only the selected points can be edited.
- If multiple points are selected, answering "No" to the "Move all selected points?" question moves a single point.
- When moving selected points, the point originally picked moves to the required coordinates, with other points displaced by the same amount.
- If both string and point data is selected, string data is affected only. String data edits will always take precedence over selected point data.
Command Steps:
- Launch the edit-point-coordinate command.
-
Select one or more points or vertices to edit, using any available 3D window.
The Enter New Coordinate Screen displays.
- Edit the X, Y and Z values as required.
- Click OK to update the loaded data object in the 3D view.
- If multiple data points were selected, a "Move all selected points" prompt displays:
- Select Yes to move all selected points or vertices to the 3D location indicated by the coordinate fields displayed.
- Select No to update only the first selected point or vertex.
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. -
'110.0'is thearg1: a string value parsed as a numeric new X coordinate for the edited point. -
'210.0'is thearg2: a string value parsed as a numeric new Y coordinate for the edited point. -
'5.0'is thearg3: a string value parsed as a numeric new Z coordinate for the edited point. For non-interactive scripting, arg1/arg2/arg3 should be provided together; otherwise dialog-driven input is used.
Parameters Table
| Parameter | Description | Reqd? | Example Syntax |
|---|---|---|---|
ParsePointArguments
|
X,Y,Z,nButton.
|
Y | @point=100.0,200.0,0.0,1
|
arg1
|
A string value parsed as a numeric new X coordinate for the edited point. |
Y | '110.0'
|
arg2
|
A string value parsed as a numeric new Y coordinate for the edited point. |
Y | '210.0'
|
arg3
|
A string value parsed as a numeric new Z coordinate for the edited point. For non-interactive scripting, arg1/arg2/arg3 should be provided together; otherwise dialog-driven input is used. |
Y | '5.0'
|
Related Topics and Activities
