laptop and a wrench

Bug

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 ModifiedJune 5, 2024
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

Workaround

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

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options