×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Macro Purge and Delete Layer Filters Across Multiple Drawings?

Macro Purge and Delete Layer Filters Across Multiple Drawings?

Macro Purge and Delete Layer Filters Across Multiple Drawings?

(OP)
I am looking for a macro or Lisp or VB routine that would allow you to select a directory.  Then would auto purge and delete layer filters in all the drawings in that directory.  It would be nice if got the sub folders in that folder also.

We are basically trying to clean up all of our old archive data and I know enough lisp and VB to do nothing useful.

I tried doing some searches on the net and here with no luck for what I wanted.

Thanks in advance.
Cadnutcase

RE: Macro Purge and Delete Layer Filters Across Multiple Drawings?

(OP)
Never mind I found what I was looking for.

RE: Macro Purge and Delete Layer Filters Across Multiple Drawings?

And, what did you find???

RE: Macro Purge and Delete Layer Filters Across Multiple Drawings?

(OP)
I have run some test with it and it works pretty well.
About to go permission from the IT guys to run it on some old archive jobs we have on the server, to see how it really performs.

On my test it is knocking the file size down by 10-12% per file on average.  Really adds up quick.

Here is the original link.
http://discussion.autodesk.com/thread.jspa?threadID=415779

Here are some comments on it.
http://discussion.autodesk.com/thread.jspa?threadID=415573

RE: Macro Purge and Delete Layer Filters Across Multiple Drawings?

(OP)
Forgot to mention, it will also pick up all subfolders also.

Cadnutcase

RE: Macro Purge and Delete Layer Filters Across Multiple Drawings?

(OP)
Correction to my last two post.  This doesn't actually purge the drawings, but does remove layer filters and application ids.  Also some of the reading said don't do this in AutoCAD 2006.  But it still does a great job.

Just need to find one that purges now.

RE: Macro Purge and Delete Layer Filters Across Multiple Drawings?

A good tool for purging is CDPURGE 4.0.  The author's website is http://watertech.blogspot.com/
It's tempoarily unavailable there as it's being updated.

You could incorporate it in a batch process, but separate from the PURGEID process as the drawing purge requires the drawings to be opened.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources