[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Tidy Drawing Shutdown
Tip# 3710 By Samuel Lucido On 16-Aug-2011
Rated By 0 users Downloaded : 229
Categories : Saving Files
Software type : AutoCAD 2012
Rename File To : Final.lsp
Set layer 0 current, purge your drawing, zoom extents, run Audit, and save your drawing.

Recent Cadalyst CAD Tip No. 3676, Shut It Down, is a menu macro intended to be executed when closing an AutoCAD drawing. This tip performs a very similar function, but is in LISP format instead. You may not want to perform all of the actions that Sam Lucido has outlined in this routine, but it is a good starting point for you to build your own shutdown routine. This routine sets layer 0 current, fully purges the drawing, performs a zoom extents, runs the Audit command, and finally saves the drawing. If you want to remove one of these commands or add your own, the code is very simple to understand.


Average Rating:

User comments