01 / 21

The OVERKILL
Command

Learn how to clean up drawings by removing duplicate and overlapping geometry with AutoCAD's powerful OVERKILL command.

AutoCAD

What Are Duplicate Objects?

In AutoCAD, duplicate objects are two or more entities that occupy the exact same location in model or paper space. They are visually indistinguishable but increase file size, cause selection errors, and produce incorrect hatch/fill results.

Single Line 1 object selected Duplicates Stacked 3 objects selected! Single Circle Overlapping Circles

Why Duplicates Cause Problems

✕ Bloated File Size
Every duplicate stores redundant data. Drawings can be 2-5x larger than necessary.
✕ Wrong Quantities
Property queries and counts return inflated numbers, making schedules and BOMs inaccurate.
✕ Display Artifacts
Overlapping lines appear bolder or cause flickering. Hatches fill incorrectly with double boundaries.

Introducing OVERKILL

OVERKILL is an AutoCAD command that automatically detects and removes duplicate or overlapping objects from your drawing. It compares geometry position, layer, color, linetype, and other properties to decide which objects are redundant.

Command: OVERKILL

How OVERKILL Works

1. Select Objects or use All 2. Set Tolerances Numeric tolerance 3. Execute Duplicates removed BEFORE 6 objects OVERKILL AFTER 3 objects

The OVERKILL Dialog Box

When you type OVERKILL and press Enter (after selecting objects), a dialog box appears with comparison settings. Each checkbox determines which properties must match for two objects to be considered duplicates.

Tolerance
Numeric distance: objects within this range are "equal." Default: \( 0.000001 \)
Ignore Property
Check a property like Color or Layer to make OVERKILL ignore it during comparison.
Object Type
OVERKILL groups comparisons by entity type: lines with lines, arcs with arcs, etc.

OVERKILL vs. Manual Cleanup

OVERKILL Manual Selection
Speed Instant (entire drawing) Slow (object by object)
Accuracy Numeric tolerance comparison Human visual judgment
Overlaps Auto-merges segments Must trim manually
Properties Filters by layer, color, linetype No filtering
Risk Low: preview + undo High: might delete wrong entity

How to Apply OVERKILL

1
Type OVERKILL in the command line and press Enter.
2
Select objects: use a window selection, or type ALL to select everything in the drawing.
3
Press Enter to confirm the selection. The dialog box appears.
4
Set the tolerance value. For exact duplicates, keep the default \( 0.000001 \). For near-duplicates, increase it.
5
Choose properties to compare: check or uncheck Layer, Color, Linetype, Lineweight, Plot style.
6
Click OK. AutoCAD reports how many objects were deleted. Use UNDO if needed.

Example 1: Identical Lines

You have a floor plan where someone accidentally pasted the wall lines twice. Every wall segment has an exact duplicate stacked on top.

Before OVERKILL door 8 segments (4 duplicates) After OVERKILL door 4 segments (clean)

Example 2: Overlapping Segments

Two collinear lines partially overlap. One runs from point A to point C, and another runs from point B to point D, where B is between A and C.

Before: Two Overlapping Segments A C B D overlap After: One Merged Segment A D 1 line: A to D

Example 3: Tolerance-Based Cleanup

You imported a DXF from another CAD system. Many circles are almost identical but offset by tiny amounts (e.g., \( 0.002 \) units). The default tolerance of \( 0.000001 \) won't catch them.

Imported Circles (Zoomed) 3 near-identical circles Tolerance = 0.01 After OVERKILL 1 circle remaining

Property Comparison Options

The dialog lets you choose which properties to ignore. If a property's box is checked, that property is ignored during comparison. If unchecked, objects must match that property to be considered duplicates.

Color
When unchecked, a red line and a blue line at the same position are NOT duplicates. Check the box to ignore color differences.
Layer
When unchecked, objects on different layers are NOT duplicates. Check the box to find duplicates regardless of their layer.
Linetype
When unchecked, a dashed line and a continuous line are considered different. Check the box to ignore linetype differences.

Combine Collinear Objects

OVERKILL includes a special option: "Combine co-linear objects that partially overlap." When enabled, collinear lines and arcs that share a portion of their path are merged into one entity.

Option ON becomes Merged: 1 line Option OFF stays as Still 2 lines Partially overlapping segments are only merged when the option is ON

What OVERKILL Cannot Do

✕ Blocks / XREFs
OVERKILL does not remove duplicate block insertions at the same point. Use a separate workflow for blocks.
✕ Non-Geometric
Dimensions, text, and multileaders are not compared by OVERKILL. Only pure geometry is evaluated.
✕ Different Types
A line and a polyline at the same position are different entity types and won't be compared unless you convert first.

Common Mistakes

✕ Tolerance Too High
Setting tolerance to \( 1.0 \) or more can cause OVERKILL to merge objects that are intentionally close but separate.
✕ Forgetting to Ignore Properties
If duplicates are on different layers, you must check the 'Layer' box to ignore that property. Forgetting this step means they won't be removed.
✕ Not Selecting All
Selecting only visible objects misses duplicates on frozen or off layers. Use ALL or thaw layers first.

OVERKILL Quick Reference

Setting Default When to Change
Tolerance \( 0.000001 \) Increase for imported files with rounding errors
Ignore Color Off (compares color) Turn on when duplicates have different colors
Ignore Layer Off (compares layer) Turn on for cross-layer imported duplicates
Ignore Linetype Off (compares linetype) Turn on if style mismatches exist
Combine Collinear On Turn off if you need overlapping segments separate

Question 1 of 5

What is the primary purpose of the OVERKILL command in AutoCAD?

Question 2 of 5

You imported a DXF file and suspect duplicates exist across different layers. What should you do in the OVERKILL dialog?

Question 3 of 5

Two collinear line segments partially overlap. With the "Combine co-linear objects" option enabled, what does OVERKILL do?

Question 4 of 5

Which of the following object types is NOT compared by the OVERKILL command?

Question 5 of 5

An imported drawing has circles that are nearly identical but offset by \( 0.005 \) units. The default tolerance is \( 0.000001 \). What should you do?