Jump to content

Architectural Clean Up Routine?


thedissident001

Recommended Posts

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

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 weeks later...

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

Link to comment
Share on other sites

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 by BIGAL
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...