AutoCAD Based Products File Save Process Explained in Detail

July 27, 2020 Ryan Wunderlich

During a save here are all the steps that occur.  If any of these are interrupted, the process will fail and will give unusual errors, or cause slow behaviors. 

In this example, the AutoCAD Temporary Drawing Location is set to C:\ACAD Save 

2020-07-17_11-05-14

Drawing named Test DWG.dwg is located here: D:\Downloads\Test DWG 

2020-07-17_11-11-41

Some of these steps may occur without you ever seeing them (they are nearly instantaneous).

  1. Standard QSAVE (occurs regardless of ISAVEPERCENT setting) command is triggered (or SaveAs)
     
  2. Drawing save is initiated
     
  3. Test DWG.DWG in RAM is written out to a .tmp first to the Temporary Drawing Location (briefly – you may not see this step as it’s near instantaneous)

    2020-07-17_11-19-33
     
  4. Or the last Autosave (sv$ extension), if it’s enabled and has triggered at least once, is removed and renamed as a .tmp and the rest of the save process continues
     
  5. Then that .TMP file is moved to the destination location

    2020-07-17_11-24-00 
  1. Test DWG.BAK is renamed to a temp file with no extension 
     
  2. Test DWG.DWL & Test DWG.DWL2 are deleted
    Note: Since the release of AutoCAD 2000, the program no longer controls file locking or creates lock files. DWL files were formerly used. All file locking is performed by the operating system or file access software. DWL and DWL2 files are now only used for the WHOHAS command within AutoCAD to see who has a DWG file open. When a drawing is closed, AutoCAD will erase both files. If AutoCAD crashes, the files are not deleted but they will be automatically overwritten when the DWG is opened again.
     
  3. Test DWG.DWG renamed to Test DWG.BAK
  1. Temp file with no extension is deleted
     
  2. The .TMP renamed to Test DWG.DWG

    2020-07-17_11-21-00 
  1. Test DWG.DWL & Test DWG.DWL2 are re-created
     
  2. Test DWG.dwg remains in RAM on the local machine for current session.
     
  3. Test DWG.DWL & Test DWG.DWL2 remain as-is (until user closes Test DWG.dwg, at which time they are deleted).

About the Author

Ryan Wunderlich

Sr. Technical Support Specialist<br><br>An AutoCAD Certified Professional, Ryan is responsible for taking client cases and assisting with issues with the software - everything from regular glitches to software deployments and whatever else goes wrong. He's proficient in AutoCAD (including customization), VBA, LISP, and Civil 3D.

Follow on Linkedin More Content by Ryan Wunderlich
Previous Article
AutoCAD Based Products Autosave files appear to be missing
AutoCAD Based Products Autosave files appear to be missing

AutoCAD Based Products Autosave files appear to be missing Issue: Your Autosave is turned on (and you see i...

Next Article
What to Whitelist to Generate an IMAGINiT Utilities license
What to Whitelist to Generate an IMAGINiT Utilities license

The most common reason for this is that your firewall is blocking communication with the IMAGINiT servers.

Need tech support? Let us help!

Learn More