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)