ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Справка
  • Sign Out
ArcGIS Desktop

ArcGIS Online

Картографическая платформа вашей организации

ArcGIS Desktop

Полноценная профессиональная ГИС

ArcGIS Enterprise

ГИС предприятия

ArcGIS for Developers

Инструменты для встраивания приложений с местоположениями

ArcGIS Solutions

Бесплатные шаблоны карт и приложений для отрасли

ArcGIS Marketplace

Получение приложения и данных для вашей организации.

  • Документация
  • Поддержка
Esri
  • Войти
user
  • Мой профиль
  • Выход

ArcMap

  • На главную
  • Начало работы
  • Карта
  • Анализ
  • Управление данными
  • Инструменты
  • Дополнительные модули

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

Параметры среды

  • Временная рабочая область (Scratch Workspace)

Информация о лицензиях

  • ArcGIS Desktop Basic: Нет
  • ArcGIS Desktop Standard: Требует Defense Mapping
  • ArcGIS Desktop Advanced: Требует Defense Mapping

Связанные разделы

  • An overview of the Utilities toolset

ArcGIS Desktop

  • На главную
  • Документация
  • Поддержка

ArcGIS Platform

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

Об Esri

  • О нас
  • Карьера
  • Блог Esri
  • Конференция пользователей
  • Саммит разработчиков
Esri
Расскажите нам, что вы думаете.
Copyright © 2019 Esri. | Конфиденциальность | Правовая информация