ROUND_COORDINATE
Replace selected line and polygon vertex X or Y coordinates with a given value when they differ from it by no more than a tolerance.
Parameters
| Parameter number | Description | Optional |
|---|---|---|
| 1 | Value | No |
| 2 | Sigma (tolerance) | No |
Notes
If parameters are missing, sound the error tone and end.
For each vertex of the selected geometry, including polygon hole vertices, if the absolute difference between X and the value is less than or equal to the tolerance, set X to that value. Handle Y the same way. Z is unchanged.
For example, ROUND_COORDINATE=20 1e-5 changes X = 20.000004 to 20.
Single and multiple selection are supported; only lines and polygons in the current model are modified.
If quality control rejects a modified entity, retain its original unchanged. Handle multiple entities independently: retain each rejected entity's original and modify the others.
Command characteristics
| Command type | Interactive command |
|---|---|
| Repeats automatically | Yes |
| Menu option | This command has no associated menu option |
| Toolbar | This command has no associated toolbar button |
| Extension | DigiNG.OrdenesStandard.dll |
| Implementation | Native |
| Related variables | REPEAT — repeat the last command executed |
| Related commands | No related commands |
| Internal name |