I'm using Autocrat 2004.
I have a attributed titleblock. Sometime in the future I will need to change the date attribute to another value, i.e.. 7-11 to 9-11.
I can't place a text string in the title block because this title block is used for multiple drawings and the date will be different for different sets. I can't have numerous title blocks because of the client's requirements.
Is there a way to write a script to open a drawing, look for the specific attribute, change the date value, save and close the drawing - across multiple sheets? Would a lisp routine called by the script be able to do this? Or a script file called by the original script file? CAn you even use a script file in this manner?
You can assign a field that is controlled via the Sheet Set Manager. However you can only have one sheet set assigned per sheet. So you could have all of the dates change at the same time. However only for that project.
You need to have the titleblock setup for each project separately.
Try this - scroll down to the Editor part. It allows the user to batch change attribute values to drawings without opening AutoCAD.
Read your e-mail, found your program, loaded it up, ran it, and it locked my machine up three times in a row. It will work with Autocad 2004- right?
Your program looks great. I just can't get it to work. Also how do I get the editor to work without opening autocad?
Firstly I have to say it's not my program but Lee Mac's.
Apologies I don't know if it will run on 2004 but I'm guessing there should be a contact email address for Lee on the website.
Fire him off an email and ask. If you don't get any joy why not download and instal the 30 day trial version of AutoCAD 2012 and rename your attributes using that.
I went back and re-read your e-mail and relized it wasn't your program. I was able to get the program to run. The program looks like it will work for us.
The caveat for anyone reading this is to practice with copies and make sure you understand what is going on. I didn't understand that I had to remove from processing any tag I didn't want changed. Hence not only did the altered attributes update so did the attributes that were active in the original drawing. By this I mean it took the information from the drawing I was in and redid the titleblock information across 25 sheets to be the same as the original. So I had 26 sheets where the title block info was the same, including the drawing number. I was able to get the drawings back to their original state, thankfully.
Just trying the global attribute editor and it looks unreal. Exactly what I need. Currently I'm changing one name in the title block on A LOT of drawings. Tried the editor on a test and it worked perfectly. Problem is the title block I'm working with (supplied by customer) has 3 tags named 'NAME'. Is there a way of changing only one tag named 'NAME' as it currently changes all 3?
Or does anyone know of a program that will allow me change the name of tags in the title block of all the drawings so I could then use this program?
Personally I would Wblock out the title block containing three versions of Name, rename them Name1, Name2 and Name3.
Then reinsert that block into the drawings - you may need to use AttSync to push the sttributes ti update.
If it's over a lot of drawing I'm guessing you could write a script to speed things up.