thedissident001 Posted July 26, 2010 Share Posted July 26, 2010 Hi, I was wondering if anyone could assist me. I work for a consultancy and we receive regular architectural drawing updates. I wanted to try and write a routine (lisp, script, batch?) that will open every drawing in a folder, and do a basic cleanup of the architecture. The routine would have the following basic elements in roughly the following order; set tilemode to 1 unlock all layers, and set all layers to color 251 burst everything until it can't be burst any further filter solid hatch and delete filter dimensions and delete create a new text style, ISONOR for arguments sake, font style iso3098b.shx change all text (mtext and text) to the ISONOR style purge all then it would repeat the process for the next drawing, until all drawings in the folder had been done. Even if you could offer any advice as to how to best approach it. Thanks in advance, Greg Quote Link to comment Share on other sites More sharing options...
CyberAngel Posted August 19, 2010 Share Posted August 19, 2010 Heck, I'd settle for a routine that could do this to one drawing at a time. Quote Link to comment Share on other sites More sharing options...
shirazbj Posted September 7, 2010 Share Posted September 7, 2010 Hi, I am interested in how to clean up. Do you set all layers to one you specified and lock it? Change the line width to 0.00 I want to add my services drawing on to the arch drawing. Regards, Cean Quote Link to comment Share on other sites More sharing options...
BIGAL Posted September 14, 2010 Share Posted September 14, 2010 (edited) This has been covered lots of times just search out a program to do each step if their individual defuns then this makes it easy, code is (unlock) (bursted) (filtered) (netxty) (isornor) (purgeall) or in a script open dwg1 (unlock) (bursted) (filtered) (netxty) (isornor) (purgeall) close Y open dwg2 (unlock) (bursted) (filtered) (netxty) (isornor) (purgeall) close Y open dwg2 (unlock) (bursted) (filtered) (netxty) (isornor) (purgeall) close Y Yes you will need to edit the programs to get fixed answers or else just add answers to the script, find the programs first there is lots of help from people here. Edited September 14, 2010 by BIGAL Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 14, 2010 Share Posted September 14, 2010 You should probably include an audit of the drawing file as well. When you do the purge you might want to repeat it and make sure it includes deleting all unused registered applications (regapps). Oh, and one more very important thing...QSave! No sense in going through all that and not saving the cleaned out drawing right? Question: Are there layouts in these drawings? Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 14, 2010 Share Posted September 14, 2010 Since you were the one who mentioned Burst I assume you are aware this will slow things down (possibly quite a bit) and the file size will be larger even after purging. Quote Link to comment Share on other sites More sharing options...
NBC Posted September 14, 2010 Share Posted September 14, 2010 I use batching programme called X-Batch to run a script file amongst many drawings in a folder. You can find it here - http://www.theswamp.org/index.php?topic=25128.0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.