It looks like you're new here. If you want to get involved, click one of these buttons!
What I'm trying to do is have a series of MTEXT fields that reference things like voltage, amp draw, UL file number, and product part number. For each product, there are 4-5 *.DWGs that share this information. It's referenced in terminal block labeling, title blocks, nameplate labeling, and so forth. It's getting cumbersome to keep every line of text updated in all the different places. My aim is to update one document and have it pulled into all the others automatically thereafter. I tried blocks and attributes.... but you can't duplicate and move the attribute tags independent of the block. I tried an excel file with a linked table and MTEXT cell references...but it only worked with numbers. Using strings of text just produced something like "#######." I've also looked at sheet sets and sheet set variables. However, data entry into sheet set variables seemed more tedious than just manually updating documents.
The only thing that seemed to work in a usable manner was loading an excel file with LISP and populating LISP variables, which I then reference in MTEXT fields. It seems kinda overkill though. It also slows down opening the *.dwg because it requires running the script upon loading the drawing. Even then, I haven't worked out how to REGEN automatically to update fields if the values changed.
So, first question .... have I missed an alternative?
Seems like it should be a relatively standard problem. Common enough that there aught to be a built-in solution.
Secondly, I want to make sure that the information is extracted and updated before plotting.
Someone may open the drawing, edit the excel file, and then print....which would print incorrect values. You must re-run the script and then regen before plotting.
Is there a means of triggering a LISP script before the plot window appears? Can LISP scripts force a regen command?