Tuesday, December 17, 2013

Cleaning Files Facts…

Hi All… Everybody knows how valuable our files are, so to keep the integrity of your files is it important to do some housekeeping once in while… But this can be a tedious task that involve multiples steps…
A big number of users like to create Lisp routines, to execute all these steps; but for those of us that do not have a clue how to do something like that, you can use an Action Recorder Macro. These are used to record commands and input values that can be played back as an action macro.
They are very easy to use and you can find all the information that you need on the AutoCAD Help file.
This is what I like to do, to clean my files…

Because of those unwanted DGN Linetypes issue, I always like to run the DGNPURGE command alone with an AUDIT and a –PURGE to erase any Regapps present on the file and of course QSAVE the drawing. 
So I created a macro that grouped all these steps on one command that I called CLEANDWG
Here is how my Macro looks like: 
Important!!! 
Please remember that the DGNPURGE command will not stay loaded on your system after shutting down AutoCAD. If you need to use this command in future sessions of AutoCAD, you will need to reload the DGNLsPurge.dll by using the NETLOAD command. 

And you can use this macro by just typing CLEANDWG on the command line… 
Have fun creating your own macros and… 
 … To all!!!
@Civil3DBTF