View Full Version : Purge While You Sleep
csiarch
07-01-2006, 01:19 AM
An acquaintance of mine would like to know if there's a routine out there anywhere that will open AutoCad drawings, run Purge, close that drawing, open another one, Purge, etc. in background, unattended.
He leaves his computer on all the time, never purges on the fly, and, like many users, wants a routine that compensates for his lack of user skills.
In spite of the fact that advised him this could be dangerous, thought I'd ask anyway...
:rolleyes:
Eddie
08-01-2006, 09:09 PM
I have a VB program I wrote for just such a thing .. it was requested be some of my fellow workers here...
What version of autocad is he running...?
csiarch
10-01-2006, 10:04 PM
Eddie: I think he's running 02 or 04.
I just ragged on the webmaster about this topic becuase I thought I posted it to open discussion and when it wasn't there, I sent an inquiry.
Guess I'll have a slice of humble pie!
Cheers!
Eddie
11-01-2006, 12:35 AM
PM me your email so I can send you a batch purgeing program for acad2004...:thumbs_up
Terry Cadd
18-07-2008, 04:38 AM
Eddie,
Here's my version of "Purge while on a break", not while you sleep. It doesn't take that loooong! Unless you just want to snooze for a while... Anyway, it's not a Cool VBA routine like yours, it just a simple AutoLISP and dialogs version that allows the user to run a series of his own custom commands on a folder of drawings. He may test it first on the current drawing before running the script on a folder of drawings. It includes too very useful functions for scripts: c:Purged - Purges All including null strings, and c:ZoomE - Zoom extents in all layouts. In the user script lines you just need to type PURGED on one line and ZOOME on the next line. The attached image doesn't show this example, but it works anyway. Please give me your feedback, because I always try to make things better for everyone.
Regards,
Terry
http://web2.airmail.net/terrycad/Images/Scrs.gif
Scrs is a Script Creator utility that allows you to create scripts on the fly. You can test your script in the current drawing before running it on a folder of drawings or dxf files. The script is saved as C:\Temp\Temp.scr. Here are the associated files, Scrs.lsp and Scrs.dcl.
http://web2.airmail.net/terrycad/LISP/Scrs.lsp
http://web2.airmail.net/terrycad/LISP/Scrs.dcl
Powered by vBulletin™ Version 4.0.3 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.