ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

AmxmExportInfo

  • Summary
  • Discussion
  • Properties
  • Code sample

Summary

The AmxmExportInfo object provides access to export settings used by the AMXM exporter. This object contains a dictionary of tables and matching queries to export.

Discussion

The object is used by the ExportAmxm function. Once created, the queries dictionary may be populated using the tables to export as keys and SQL where clauses as values.

Properties

PropertyExplanationData Type
queries
(Read and Write)

A dictionary mapping table names to SQL queries. Any table that is a dictionary key will be exported. If the query associated with the table is empty, the entire table will be exported. If no entries are added to the queries dictionary, the entire geodatabase will be exported.

Dictionary

Code sample

AmxmExportInfo example

This sample creates an AmxmExportInfo object and accesses its properties.

# Name: AmxmExportInfo_example.py
# Description: Creates an AMXM export settings object
# Author: Esri
# Date: November 2016

# Import arcpyproduction and aviation modules
import arcpy
import arcpyproduction
import datetime

# Check out Aviation license
arcpy.CheckOutExtension("Aeronautical")

# Create AmxmExportInfo object
export_settings = arcpyproduction.aviation.AmxmExportInfo()

# Set and access export_settings
export_settings.queries["TAXIWAYELEMENT"] = "OPERATIONALSTATUSCODE = 'ACTIVE'"
export_settings.queries["RUNWAYELEMENT"] = "IDARPT = 'KHPN'"
export_settings.queries["STRUCTUREPOLYGON"] = "" # empty query will export everything


# print queries property
print "Queries: " + export_settings.queries


# Check in Aviation license
arcpy.CheckInExtension("Aeronautical")

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal