Detect Layout Changes (Aeronautical)
概要
Identifies chart elements that may need updates due to changes to the underlying data that those elements reference. It is used in combination with the Change Reporter tool to give you a clear picture in defining charts that may need maintenance as a result of edits that have occurred to the production database.
While the Change Reporter tool will provide a report of all changes that have occurred to the data within the feature classes and tables used by a map document, sometimes there are elements on a chart that reference data that is not part of that map document. For example, you may want to add a Dynamic Text Element that displays a frequency value from a record in a feature class that is not loaded into that map document and has no cartographic feature for that chart. If a change occurred to that frequency value, Change Reporter would report the change, but this tool would help determine which elements on specific charts were affected by the change.
使用法
-
You need to create a new Reviewer session or start an existing session before running this tool.
-
To properly report all necessary information, this tool requires additional fields to be added to the Reviewer table. These fields are added by running the Add Reviewer Fields tool located in the Aeronautical Tools toolbox prior to running this tool.
-
The Change Reporter tool must be run to record updates to the data stored in the geodatabase. These changed records are then used as the input for this tool.
-
You need to ensure that elements, for which you want to detect changes, have been registered in the production database's Element Catalog. See Workflow: Detecting chart changes for information on how to register your elements using the scripting utilities.
-
You must use an enterprise geodatabase and have archiving enabled so that the Change Reporter tool can generate its output.
-
Unless using the scripting utility that allows you to specify a MapID, you will need to have the correct product instance set in your data frame properties for elements to be properly registered. This is also true for the elements that register automatically. If the instance is not set in the data frame properties, the tool will not be able to register the element since it will not be able to define which chart the element belongs to.
-
To see how this tool is used in a data information management and chart production environments, see the sample production tutorials that are available with the Aeronautical Solution setup.
This tool always runs in foreground mode. If you run this tool with Background Processing checked on, the tool will automatically switch to foreground processing.
構文
パラメータ | 説明 | データ タイプ |
input_mapids [input_mapids,...] |
List of the instance(s) in which you want to search for changes. | String |
コード サンプル
The following ArcGIS Python window script demonstrates a use of the DetectLayoutChanges function.
# Import arcpy module import arcpy # Load Toolbox arcpy.ImportToolbox(r'C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Aeronautical Tools.tbx') # Local variables: Input_Instances = "Aeronautical::Enroute::Lower::SANFRAN" # Process: Detect Layout Changes arcpy.DetectLayoutChanges_Aeronautical(Input_Instances)