• Skip to main menu
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • About
    • Contributors
    • Feedback
    • Contact
    • Privacy policy
    • Cookie Policy
CADnotes

CADnotes

CAD Tutorials and Best Practices for professionals and students

  • Featured
  • AutoCAD
    • AutoLISP
  • Revit
    • Revit Architecture Basic
    • Revit MEP Basic Tutorial
  • Inventor
You are here: Home / AutoCAD / Can you Purge, Audit, and Overkill with one click?
AutoCAD

Can you Purge, Audit, and Overkill with one click?

April 5, 2013 by Lana Sharp 3 Comments

Recently I read an article on Macros and Custom Buttons on CAD notes website, got excited and thought I would try to implement it in
my daily final drawing cleanup routines. This simple routine saves me tons of time and leaves the drawing nice and clean for the next user.
I use it when I am done with the drawing and ready to move it through the next step of its life cycle.

Computer work

© pressmaster – Fotolia.com

I have created a simple macro and assigned it to a button with a custom look that I use multiple times a day.
I called it Sweep Out. Here is the macro I use:

^C^C_Purge;\^C^C_Audit;\;^C^C_Overkill;All;;

Also, I am thinking about adding Zoom:  Extents as my final step.

Editor’s note: The macro above uses pause. It allows you to have options when the commands are initiated.

Alternatively, if you don’t want to use pause and just want to purge all you can use code below.

^C^C_Purge;All;N;N;^C^C_Audit;Y;^C^C_Overkill;All;;

For more instructions on how customize AutoCAD, read this article about Customize User Interface (CUI).

I hope it will save you some time and will make your drawings be clean and look professional.

Share the knowledge:

Filed Under: AutoCAD Tagged With: autocad tips

About Lana Sharp

Lana has an Engineering degree and during her internship she was introduced to the earlier version of Autocad R.14. She fell in love with the tool,
and feels it has been an exciting ride all the way to Autocad 2013.

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

3 Comments
Patrik Lundqvist
Patrik Lundqvist
11 years ago

I always add regapps in the purge all command, since they are not purged otherways and can really slow a drawing down..

0
Reply
Rafael
Rafael
12 years ago

Lana how do you execute this sweepout command what key?

0
Reply
Lana
Lana
Reply to  Rafael
12 years ago

Rafael, I created a custom button, in CUI, choose any command you currently don’t use and place this macro instead of the one used, choose your picture (mine looks like a broom) and drag it to your command bar. You can look up the article in here: “creating custom buttons”, it is a great article. I hope that helps!

0
Reply
wpdiscuz   wpDiscuz

Primary Sidebar

Featured

10 AutoCAD Commands Only Veterans Know

The ribbon made AutoCAD easier to learn. It also hid some of its most useful commands.

Recent Articles

  • 10 Free Revit Plugins to Boost Your Productivity (Part 1)
  • AI Is an Assistant, Not a Replacement
  • Open Large Revit Models Faster: Incremental Model Open

Advertisement

Footer

New on CADnotes

  • 10 Free Revit Plugins to Boost Your Productivity (Part 1)
  • AI Is an Assistant, Not a Replacement
  • Open Large Revit Models Faster: Incremental Model Open
  • 10 AutoCAD Commands Only Veterans Know
  • Is Your Revit Model Healthy?

Recent Discussions

  • Edwin Prakoso on Open Large Revit Models Faster: Incremental Model Open
  • Simon on Open Large Revit Models Faster: Incremental Model Open
  • Edwin Prakoso on 10 AutoCAD Commands Only Veterans Know
  • Simon on 10 AutoCAD Commands Only Veterans Know
  • sssss on AutoCAD Script to Create Classic Workspace Automatically

Archieve

Copyright © 2026 · CADnotes

wpDiscuz