ArcGIS Desktop

  • 文档
  • 支持

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS for Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

Help

  • 主页
  • 入门
  • 制图
  • 分析
  • 管理数据
  • 工具
  • 更多...

Update Data Frames

  • 摘要
  • 用法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

摘要

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.

    注:

    This tool must be run on a map document file that is not currently open in a session of ArcMap.

语法

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:

  • MDG50_MGCP —Elevation Guide box for an MDG50_MGCP product
  • MDG100_MGCP —Elevation Guide box for an MDG100_MGCP product
  • MDG50_TLM —Elevation Guide box for an MDG50_TLM product
  • MDG100_TLM —Elevation Guide box for an MDG100_TLM product
  • LDG50_NSG —Elevation Guide box for an LDG50_NSG product
  • LDG100_NSG —Elevation Guide box for an LDG100_NSG product
  • JOG_A —Elevation Guide box for a JOG_A product
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

相关主题

  • An overview of the Utilities toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS 平台

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • 内部人员博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2017 Esri. | 隐私政策 | 法律声明