laptop and a wrench


The Arcpy.mapping.MapDocument.saveACopy() command does not work the same as the ArcMap Save A Copy command. The output map document (.mxd file) is not compacted.

Last Published: August 31, 2016 ArcGIS for Desktop
Bug ID Number BUG-000081100
SubmittedSeptember 24, 2014
Last ModifiedMarch 30, 2022
Applies toArcGIS for Desktop
Version found10.2.2
StatusKnown Limit

Additional Information

From: Michael Grossman Sent: Tuesday, September 30, 2014 9:42 AM To: Jeff Barrette Cc: Jeff Moulds Subject: RE: arcpy.mapping.MapDocument.saveACopy Jeff, This is very much a known limit. The internal implementations for standalone Save a copy vs. ArcMap save a copy are almost entirely separate implementations in C++. There really is no way to substitute one for the other. Matt McGunigle and I worked on MXD save for several months back in 10.0 and could not remove this limit. It really would be a major rewrite of the standalone MXD save functions. Michael


The output .mxd file can be compacted if the .mxd file is saved to an earlier version, for example: "mxd.saveACopy("C:/path/map.mxd," "10.0").

Steps to Reproduce

Bug ID: BUG-000081100


  • ArcGIS for Desktop

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic