Hi Hyposmurf, I was bored tonight and this seemed like a neat challenge.
I'm attaching a zip file with a lisp I just whipped up that should do what you need. Please try it on some COPIES of your actual files first
... I don't want to be responsible for blowing up your originals!
Since I'm using ObjectDBX and any save done with it loses the Drawing preview, I'm using a new little helper app that Tony Tanzillo put together that preserves the preview. However, to use it the ARX file MUST be registered with Acad....just follow the intructions in the included Zip file. This only needs to be done once per Acad installation. Here is the header info from my lisp:
;|Routine to replace ALL entities of a block found in remote drawings, with the exception
of Attributes. This is great for Title blocks whose general appearance has changed, but
the attributes remain unchanged. Works with R2004-2006 only at this time.
To use, first edit (or insert) the block in a drawing to be as desired. Next, make sure
NO other drawings are open. Then run this routine "replace-blocks" and follow the prompts.
Note that this utilizes an ARX program that Tony Tanzillo was nice enough to post on the
Autodesk newsgroup. This ARX MUST be placed in the Acad support path and registered once
per Acad installation or an error will occur...follow the directions in the supplied ZIP
file to do this.
This routine was written as an excercise to test a number of things. It may (read "probably
does") contain errors and I may try to address those. Any user that wishes to use this does
so knowing this, and if any errors crop up they can either attempt to correct them or let the
author know and he will do what he can to work with them. And to make it even more exciting, I
don't include an error handler!
Jeff Mishler, October 2005
miff@sonic.net or Jeff_M at www.theSwamp.org
|;
Enjoy! Oh, and this should process all 500 of those drawings many times faster than anything that opens & closes them in the Acad editor.......