• Home
  • Training Books
  • Subscribe to Our Email Newsletter
  • About
    • Contributors
    • Feedback
    • Contact
    • Privacy policy
    • Cookie Policy

CADnotes

CAD Tutorials and Best Practices for professionals and students

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

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.

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.

Filed Under: AutoCAD Tagged With: autocad tips

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
Inline Feedbacks
View all comments
Patrik Lundqvist
Patrik Lundqvist
9 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
10 years ago

Lana how do you execute this sweepout command what key?

0
Reply
Lana
Lana
Reply to  Rafael
10 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

Featured

Work Better with AutoCAD | challenge 7: Evaluate your progress

You have completed 6 challenges to work better with AutoCAD. Now it’s time to evaluate your progress after completing the challenges. Is there are any area that you can improve?

Recent Articles

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available

Advertisement

New on CADnotes

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available
  • Autodesk Forma Design Contest
  • Revit 2025: Toposolid Enhancements

Meet the Authors

avatar for
avatar for
avatar for
avatar for
avatar for
avatar for

Get Connected

CADnotes on FacebookCADnotes on InstagramCADnotes on TwitterCADnotes on YouTube

© 2009 – 2025 CADnotes · Feedback · Privacy Policy · Become an affiliate

wpDiscuz