Discarding Duplicate Entities¶
Use the DiscardDuplicates command to remove duplicate entities or overlapping segments of entities from the drawing. The command creates single entities from adjacent or partially overlapping entities.
You can set specific options to examine and process Lines, Arcs, and PolyLines. Additionally, you can specify a tolerance value to determine how exact two entities must be to be considered duplicates.
For example, the command resolves geometry redundancies:
Discarding duplicate copies of entities.
Combining partially overlapping Lines drawn at the same angle into a single Line.
Removing Arcs that overlap portions of Circles.
Removing duplicate Line or Arc segments that overlap PolyLines.
To discard duplicate entities:
Click Modify > Discard Duplicates (or type DiscardDuplicates).
In thre graphics area, select the entities to examine.
Press Enter.
In the dialog box, under Ignore entity properties, select or clear properties to ignore during comparison (Layer, LineColor, LineStyle, LineScale, LineWeight, PrintStyle, Thickness, or Transparency).
In the dialog box, under Options, set options regarding Lines, Arcs, and PolyLines:
Remove polyline duplicate vertices and segments. Examines each vertex and each linear and curved segment of selected PolyLines and removes duplicate vertices and segments. Also, if a PolyLine segment duplicates a Line or Arc, one of the entities is deleted.
If you select this option, specify additional options:
Ignore polyline segments width. Ignores the segment widths of PolyLines.
Do not split polyline. PolyLines are not split.
Combine overlapping entities into a single one. Creates a single entity from entities that partially overlap.
Combine collinear entities aligned end to end. Creates a single entity from entities that have common endpoints.
Do not modify associative entities. Leaves associative entities unchanged (such as the boundary entities of Hatches or the defining entities of Dimensions).
In the dialog box, under Entity comparison settings, in Tolerance, specify a precision value for considering entities duplicates. For example, specifying a 0 tolerance value, considers two enties duplicates only if they match exactly.
Click OK
.A message reports the number of entities that were removed or combined.
Note: The software saves these settings.
Access
Command: DiscardDuplicates
Menu: Modify > Discard Duplicates
Ribbon: Home > Modify > (Flyout) Discard Duplicates
Related Topics
-DiscardDuplicates (command window variant)
Parent Topic