Summary
Updates the terminal elements in the chart to reflect changes in the data.
Discussion
Updates the terminal elements in the chart to reflect changes in the data. The elements currently supported include Communication Row, Pilot Briefing Bar, Ancillary Information, and Minima Table.
Syntax
UpdateTerminalElements (production_database, map_document, {element_list})
Parameter | Explanation | Data Type |
production_database | The path to the Aviation geodatabase that contains the chart data. | String |
map_document | A Map Document object that contains the terminal elements to update. | MapDocument |
element_list [element_list,...] | A python list containning the names of the terminal elements that need to be updated.
| String |
Code sample
UpdateTerminalElements example
This sample script updates terminal elements for a single chart.
# Name: UpdateTerminalElements.py
# Description: Updates terminal elements for a chart
# Author: Esri
# Date: March 2015
# Import arcpyproduction
import arcpy
import arcpyproduction
# Check out Aviation license
arcpy.CheckOutExtension("aeronautical")
# Set variables
production_database = r'C:\Terminals\TERM_PD.sde'
map_document = arcpy.mapping.MapDocument(r'C:\Terminals\Terminal.mxd')
element_list = ["Communication Row","Pilot Briefing Bar", "Ancillary Information", "Minima Table"]
# Update terminal elements
arcpyproduction.aviation.charting.UpdateTerminalElements(production_database,map_document,element_list)
# Check in Aviation license
arcpy.CheckInExtension("aeronautical")