Now at first you might think why, when you can use the sheet set manager and fields. (( best solution ))
however, I have been asked to start doing changes on this drawing set and we are at 95%
No fields are in the drawings, and no sheet set is set up, and there are over 250 DWG's
I wanted to create a simple script file, to populate the data from the LOG file that is a spreadsheet that already exists. (the munisipality requires it)
Then, then i was going to use WORD, and the mail merge function with a to create the final script that would open and edit each drawing and perform the edits.
Theoretically this is a doable solution for a newbe to scripting ((me)), but I find that the ATTEDIT command needs to be used differently for attributes that are populated, or not. In other words, if an attribut in the title block revision says 3 I have to use a different script than if it were blank. I don't know/understand code, so I can't write that. My current level of expertice is typing out commands in the correct order.
In this drawing set of 250+ sheets some are blank and some are populated. And I may need to clear some as well.
I even thought about scripting in the deletion and purge of the block then inserting a wblock of the same block with all attributes to null.
I could create this mail murge script with the null block, but this does not work for the revision block as the revision block may or may not be in the same location on each file.
On top of this.. the engineers I work with have a tendancy to insert/delet drawings, and suddenly want to change every sheet, so I want to be able to run the script a 2nd time with new data in the excell spread sheet.
In essence, I am trying to avoid, haveing to open and manually enter 16 bits of data on 250 sheets, which at this point seems to be my only option.
I would much prefer if I had a loaded lsp routine that I could script better than using the ATTEDIT
it would be awsome if I had a command ATREDIT
entered in the block name --> hit enter
entered in the Attribute tag name --> hit enter
entered in the new value (regardles of emptyset) --> hit enter and had the value update.
If I have to do the revision blocks manually then I have to.. but if there is a way to script the changes to the title block that would be awesome.
Ideas/Personal Experiences/warnings accepted.. I'm I just don't want to do this manually if at all possible.