BenE Posted January 20, 2009 Posted January 20, 2009 Recently my drawings are saving changes when I close a drawing without any prompt. I can't say that they're all doing this. Sometimes I open a drawing and make layer control changes or view changes that I don't want to save, but when I open the drawing the next time, all of those changes are retained. -Ben Quote
smorales02 Posted January 20, 2009 Posted January 20, 2009 So you are not saving these drawingws at all? You just open them, make some changes, than close them? Quote
BenE Posted January 20, 2009 Author Posted January 20, 2009 That's correct. I am not saving the changes, but they appear the next time I open the drawing. Quote
rkmcswain Posted January 20, 2009 Posted January 20, 2009 In theory that is impossible. When a drawing is opened, DBMOD=0. Then when any change is made (even a zoom or a pan), DBMOD is /= 0. When you close a drawing, if DBMOD /=0, then you will get prompted to save or discard changes. There could be a custom routine loaded that is saving the drawing just prior to trying to close the drawing (which sets DBMOD = 0) and thereby avoiding the prompt. Quote
BenE Posted January 20, 2009 Author Posted January 20, 2009 I'll take a closer look and see if I can find anything along those lines. Thanks, guys. Quote
BenE Posted January 20, 2009 Author Posted January 20, 2009 Upon closer inspection, I do see that after clicking the 'X' to close, the program stalls for a second and saves. I have recently loaded two vlx files that run automatically. One is a georeferencing tool and the other is the CAELINK acadxtabs. How do I determine if either of these is the culprit? I have the georef vlx open in the microsoft script editor, but truthfully, I know very little about programming. I don't see any reference to DBMOD. Quote
eldon Posted January 20, 2009 Posted January 20, 2009 Is your EXPERT system variable set to suppress any prompts? Quote
BenE Posted January 21, 2009 Author Posted January 21, 2009 Sorry for my delayed response. I'm a student and this semester I only work half days. eldon: Nope. Expert is set to 0 - Issues all prompts normally. Quote
BenE Posted January 21, 2009 Author Posted January 21, 2009 I have isolated the problem. It only occurs when the CAELINK tabs arx is loaded. StykFace, if you see this post, do you have any similar issue? I'm using the same program. http://www.cadtutor.net/forum/showthread.php?t=30951&highlight=acadxtabs Quote
macareewall Posted February 1, 2009 Posted February 1, 2009 When you save the changes, AUTOCAD creates a .BAK file automatically, and when you open the .BAK file, all of those changes are not retained. Quote
rkmcswain Posted February 1, 2009 Posted February 1, 2009 When you save the changes, AUTOCAD creates a .BAK file automatically Actually, what happens is... When you QSAVE, the drawing in the editor is saved to a temporary file. Then the current .DWG file is renamed to .BAK. Then the temporary file is renamed to .DWG. If you QSAVE twice in a row, then the BAK is equal to the .DWG. Quote
BenE Posted February 2, 2009 Author Posted February 2, 2009 Either way, this problem was fixed by removing the 'tabs' program. The DBMOD variable was being changed. Quote
dancingmom Posted April 6, 2009 Posted April 6, 2009 i have a user that wants this to happen anyways. he says he had it setup at his previous employment. That it did not prompt him to save when closing. Any suggestions? i went to the expert variable, but doesn't that just shut off prompts such as layers, blocks and regen? Quote
rkmcswain Posted April 6, 2009 Posted April 6, 2009 i have a user that wants this to happen anyways. he says he had it setup at his previous employment. That it did not prompt him to save when closing. Any suggestions? i went to the expert variable, but doesn't that just shut off prompts such as layers, blocks and regen? You want it to save all open drawings automatically when AutoCAD is closed? You could get pretty close by using an application event (check out the "BeginQuit" event) - I don't know if this event fires when the "X" in the upper right corner is used or if Atl+F4 is used to close AutoCAD...? See also: http://discussion.autodesk.com/forums/thread.jspa?threadID=426328 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.