|
I am trying to write a script in Autocad 2012 to change attributes in a drawing title block, with limited success. see script below; ;------------------------------------------------------------ ;EDIT PROJECT TITLE-E -ATTEDIT N N A*-TITLE TITLE1 * COMPRESSOR GC-201 UPGRADE TA2015 GC-701 CCC CONTROLLER UPGRADE ;------------------------------------------------------------ ;EDIT PROJECT TITLE-R -ATTEDIT N N A*-TITLE TITLE4 * МОДЕРНĐĐ—ĐЦĐĐŻ КОМПРЕССОРОВ GC-201 КР2015 GC-701 МОДЕРН-ЦĐĐŻ КОНТРОЛЛЕРРССС ;------------------------------------------------------------ QSAVE ;------------------------------------------------------------ The above works perfectly, BUT...I would now like to modify the script to use a wildcard for the 'Enter string to change' line. This wildcard is to enable the change of ANY existing string to the replacement string. I have tried using *(asterix), but that doesn't appear to work for full strings. Any advice would be greatly appreciated. NB. I'm trying to keep this really simple and script based only. So please, no LISP routines. Cheers, Steve
|