Create Feature Linked Annotation (Aeronautical)
概要
Creates annotation for features in a specific chart if it does not already have annotation.
使用法
-
If you want to run this tool within an ArcMap session, make sure that the input .mxd is not opened in an ArcMap session.
-
You can use the Create Feature Linked Annotation tool on the Aeronautical Annotation toolbar if you want to process the input .mxd that is open in an ArcMap session.
-
The tool does not run in an edit session. You'll receive an error and you won't be able to execute the tool.
-
Tthis tool deletes annotations that have a null text element or no label.
-
Existing pieces of annotation that are invalid will not be deleted.
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_instance [input_instance,...] |
The path to and name of the instance that you want to use to create annotation. | String |
input_feature_class [input_feature_class,...] |
The feature classes where annotation can be created. | String |
コード サンプル
This ArcGIS Python window example demonstrates the use of the CreateFeatureLinkedAnno function.
import arcpy # Load Toolbox arcpy.ImportToolbox(r'C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Aeronautical Tools.tbx') # Local variables Input_Chart_List = "Aeronautical::ENROUTE::ICAO::ICAO_Enroute_SanDiego::ICAO_Enroute_SanDiego" Input_FeatureClass_List = "ADHP_C_Anno" # Process: Create Anno arcpy.CreateFeatureLinkedAnno_Aeronautical(Input_Chart_List, Input_FeatureClass_List)