サマリー
Adjusts the size of the data frames in the map document based on the product type.
使用法
- This tool is used to update the height and width of the auxiliary data frames in a map document. It is used by the Create Rapid Graphic tool to get the data frames as close to specification as possible. If you have a map document where the data frames are not the proper size, run this tool to resize the frames without altering their scale.
構文
UpdateDataFrames_defense (Input_Map_Document, Product_Type)
パラメーター | 説明 | データ タイプ |
Input_Map_Document | The map document file that will be updated. This must be the path to a map document and not a map document object. | ArcMap Document |
Product_Type | The supported product types for this tool are the following:
| String |
コードのサンプル
UpdateDataFrames example
The following code sample demonstrates how to execute UpdateDataFrames.
# Importing defense from arcpy module
from arcpy import defnese
# Setting path to mxd
mxd=r'C:\Data\MDG50_TRD_4_0.mxd'
# Calling Update Data Frames tool
defense.UpdateDataFrames(mxd,"MDG50_MGCP")
環境
ライセンス情報
- ArcGIS Desktop Basic: いいえ
- ArcGIS Desktop Standard: 次のものが必要 Defense Mapping
- ArcGIS Desktop Advanced: 次のものが必要 Defense Mapping