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, 2016ArcGIS for Desktop
Bug ID Number
September 24, 2014
March 30, 2022
ArcGIS for Desktop
After review by the development team, it has been determined that this issue is related to a known limitation with the software that lies outside of Esri's control. The issue's Additional Information section may contain further explanation.
From: Michael Grossman
Sent: Tuesday, September 30, 2014 9:42 AM
To: Jeff Barrette
Cc: Jeff Moulds
Subject: RE: arcpy.mapping.MapDocument.saveACopy
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.
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").