GROUP_TOGETHER_DUPLICATE_ENTITIES
Group all duplicate entities into a single entity per code.
Parameters
| Parameter number | Description | Optional |
|---|---|---|
| 1 | One or more codes, separated by spaces | Yes |
Notes
Two entities are duplicates if they are of the same type (line, point, or text), have the same number of vertices, and have the same X and Y coordinates at each vertex, in the same or reverse order. The command does not compare Z. It only analyzes visible entities within the area of interest.
For each group of duplicate entities, the command deletes all entities in the group and adds a copy of one of them with all their codes. If the registry settings do not allow entities with repeated codes, repeated codes are added only once.
- With codes as parameters, the command is immediate: it analyzes entities in the drawing file with any of those codes visible. The entity retained is the one with the code appearing earliest in the parameter list.
- Without parameters, the command is interactive: it prompts for a multiple selection and analyzes the selected entities. The entity retained is the first in the group.
If quality control rejects the grouped entity for a group of duplicates, that group's duplicate entities are preserved. Other groups are grouped normally.
Command characteristics
| Command type | Immediate command with parameters; Interactive command without parameters |
|---|---|
| Repeats automatically | No |
| Menu option | This command has no associated menu option |
| Toolbar | This command has no associated toolbar button |
| Extension | DigiNG.OrdenesTopologia.dll |
| Implementation | Native |
| Related variables | No related variables |
| Related commands | GROUPS_TOGETHER_DUPLICATE_VISIBLE_ENTITIES DETECT_DUPLICATES_ENTITIES DETECT_DUPLICATE_VISIBLE_ENTITIES DELETE_CODES_DUPLICATE_VISIBLE_ENTITIES DELETE_DUPLICATE_ENTITIES DELETE_DUPLICATE_VISIBLE_ENTITIES DELETE_ALL_DUPLICATE_ENTITIES DELETE_ALL_DUPLICATE_VISIBLE_ENTITIES |
| Internal name | {46E40887-D59E-4E9A-8314-BD1A49EA241A} |