PDA

View Full Version : Changing attribute tags in multiple drawings



caburke
2007-11-27, 08:33 PM
I have to change the Attribute Tags (11 in each block) in the Titleblocks of thousands of existing drawings. Does anyone have any ideas on how to automate this process?

Lee Buckmaster
2012-04-30, 09:23 PM
Set up the new title block with the new attributes, write a script file to OPEN each drawing in turn, INSERT the new title block, it will ask if you want to replace the existing block, YES in the script, ZOOM extents, SAVE the drawing and END the drawing, LOOP to OPEN the next one.

Wanderer
2012-05-01, 01:00 PM
I agree with Lee. You might find some good pointers in this AU handout:

"Changing Hundreds of AutoCAD Drawings in a Hurry (http://www.widom-assoc.com/AU-CP12-3L.pdf)"

tedg
2012-05-01, 04:16 PM
Wow, cool!
Dan Abbott is one of my heros (and mentors).
I took some his classes at SMCC (formerly SMTC) back in the 90's.

I use his Batch/Script/Lisp method every now and then to get a bunch of stuff done.

Thanks for posting this handout.

Wanderer
2012-05-01, 04:44 PM
Ted,

Awesome. :-D

I took his class at AU2003 (when I was but a child) and it changed my approach to work immeasurably, I'd never seen anything like that in action before... it opened my eyes. So, I consider it a great place for people to start if they haven't tried any automation before.
Example 1 (http://mistressofthedorkness.blogspot.com/2006/08/loads-of-very-cool-tech-links.html), example 2 (http://au.autodesk.com/?nd=newsletter_2011_3_au_again_and_again)... I tell everyone!

tedg
2012-05-01, 05:10 PM
[continue thread hi-jack]
Dan has authored several books and text books.
I actually have one of his "first" published "work books" we needed for his advanced AutoCAD class back in 1997.
It's not fancy, 110 pages with a plastic spiral binder, but full of great stuff.

We needed to buy it from the campus book store, and it contains some of the batch/script/lisp info that appears in your posted handout.
As well as a whole bunch of other advanced stuff like AutoCAD customization, symbol libraries, 3D modeling, creating slide shows, etc.

You had to pay attention in his class and take good notes, but it was an awesome 15 week class and helped me become who I am today.
Dan would always answer any questions, you just needed to be brave enough to ask a dumb question in class before he got too far along.
[/thread hi-jack]