Jump to content

Recommended Posts

Posted

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

Posted

So you are not saving these drawingws at all? You just open them, make some changes, than close them?

Posted

That's correct. I am not saving the changes, but they appear the next time I open the drawing.

Posted

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.

Posted

I'll take a closer look and see if I can find anything along those lines. Thanks, guys.

Posted

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.

Posted

Is your EXPERT system variable set to suppress any prompts? :cry:

Posted

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.

  • 2 weeks later...
Posted

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.

Posted
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.

Posted

Either way, this problem was fixed by removing the 'tabs' program. The DBMOD variable was being changed.

  • 2 months later...
Posted

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?

Posted
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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...