Hello:
I've got a large group of drawing files that contain a block definition that needs updating. I've written an AutoLISP routine to update the block definition from a disk file. This file works correctly from the command line. Here's the AutoLISP code to update the block definition:
Code:
(defun C:BLOCKUPDATE ( )
((progn (command "._insert" "blockname=c:/path/blockname" "_Y")(command))
);defun
The trouble is, when I use this AutoLISP command in a script, the script stops after the first drawing. Here's the a sample script:
OPEN DrawingFile1 BLOCKUPDATE QSAVE CLOSE
OPEN DrawingFile2 BLOCKUPDATE QSAVE CLOSE
OPEN DrawingFile3 BLOCKUPDATE QSAVE CLOSE
...
Any ideas on how to keep the script from bombing out?
Thanks,