Hi, the company i work at is in the process of changing their templates, to make sure that all the older drawings have the right titleblock we are attempting to write a script to update all the drawings in an automated process.
we have written a script file, a lisp program and a batch file.
the script file seems to be where is going wrong
INSERT A1H=C:\TITLEBLOCK\DWG\"SAC TITLE A1H"
0,0 1 1 0
we dont know if its becuase there are spaces in the block name or what. Any help would be appreciated.
You can replace the previous xref with new one using command "Xref-Replace Path"
If the previous title block is not an xref but block then use command "Block-Delete" first then "Xref-Insert" command to attach new xref.
let me know if you need more details about the batch process tool
I haven't used a script in years. But shouldn't the whole path to the file be enclosed in quotes?
I'm also confused by your use of Erase Last. It looks like you're inserting the file and then erasing it.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.