
Originally Posted by
ahefner
I'm creating the script to run in 2006 (full AutoCAD).
I'm at a loss.
It works for me like:
Code:
filedia
0
saveas
2004
(strcat (getvar "dwgprefix") "TB.dwg")
filedia
1
or
Code:
filedia 0 saveas 2004 (strcat (getvar "dwgprefix") "TB.dwg") filedia 1
FWIW, I've never used semicolons for "enter" in script files, only in macros; I've always used spaces and new line. The help file says that semicolons are used to comment in script files if used as the first character. I'm not sure about other places, but semicolons don't seem to work for me.
You might also check to be sure that this thread editor isn't adding extra spaces at the end or something when you copy and paste, also.
Maybe someone else will have an idea.