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").