Script Not saving

Script Not saving

mark.martinezECRPT
Advocate Advocate
540 Views
1 Reply
Message 1 of 2

Script Not saving

mark.martinezECRPT
Advocate
Advocate

I am using Autocad Mechanical 2019. I am trying to run a script that opens a file and runs a custom command that redefines a block.  Then it closes the file and saves.  However, it just closes the file without saving.  I can see the block being updated but the script will not accept the Y to save. There is a blank line after Y.

 

_Open
"C:\Users\xuser\Documents\Vault\Designs\MYFILES\123456.dwg"
_REDEFALL
_CLOSE
Y

 

0 Likes
Accepted solutions (1)
541 Views
1 Reply
Reply (1)
Message 2 of 2

pendean
Community Legend
Community Legend
Accepted solution
If you want it, add it: Why not just add QSAVE to your script if you actually want it to save? Better than relying on a side effect.

Or am I missing something?
0 Likes