AutoCAD Script – Overkill

The command OVERKILL in AutoCAD is useful in removing overlapping objects but some times you just want it to do its thing and move on without worrying about its settings.

The Script today could be a starting point for you to automate this task.

For example, you might want to have the OVERKILL command run and clean up everything that is overlapping no matter their layer or color settings and maybe another time you would like to run the OVERKILL command and have it only “optimize polylines” where it removes extra vertices… Well, with a script, you can easily set these settings and have these various scripts on hand and run the specific script as needed.

Click here to download these OVERKILL script that uses the default values:


OverKILL script


About AutoCAD Tips

This blog serves as a knowledge base for myself (and anyone else) so that I can reference tips & tricks that I have learned and also refer others to it as well. I hope that this blog helps you learn at least one tip to make your drafting/design experience better.
This entry was posted in Customization, Manage, Modifying, Polylines, Scripts, TIPS. Bookmark the permalink.

1 Response to AutoCAD Script – Overkill

  1. Gene Hayes says:

    flag set, it returns the number of lines. This allows you to chain a number of commands together.

Leave a Reply to Gene Hayes Cancel reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s