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.
上次发布: August 31, 2016ArcGIS for Desktop
漏洞 ID 编号
BUG-000081100
已提交
September 24, 2014
上次修改时间
April 16, 2025
适用范围
ArcGIS for Desktop
找到的版本
10.2.2
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
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").