Creates annotation for features in a specific ArcGIS for Aviation: Charting chart if it does not already have annotation.
This tool extends annotation creation behavior with the following functionality:
- Appends new annotation features to existing feature classes.
- Creates annotation for specific products based on input product library instances.
- Supports Visual Specifications (VST) expressions assigned to fields.
- Creates ArcGIS for Aviation: Charting advanced annotation such as Vertical Morse Code.
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 Aviation 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.
This tool deletes annotations that have a null text element or no label.
Existing pieces of annotation that are invalid will not be deleted.
The instance referred to in Instances to process is a data frame within a product (map document) managed by the product library.
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.
CreateFeatureLinkedAnnotation_aviation (in_product_library_workspace, in_production_database_workspace, input_feature_class, input_instance)
Path to the product library workspace.
The workspace that contains the data used for production tasks or display on maps and charts.
The feature classes where annotation can be created.
The path to and name of the instance that you want to use to create annotation.
CreateFeatureLinkedAnno example (Python window)
The following Python window script demonstrates how to use the CreateFeatureLinkedAnno tool.
# product library productLibraryWork = "Database Connections/productLibrary.sde" # production database productionDb = "Database Connections/productionDb.sde" # feature classes and instances to processes inFeatures = "ADHP_C_Anno::Enroute/Visual" inCharts = "Aeronautical::ENROUTE::ICAO::ICAO_Enroute_SanDiego::ICAO_Enroute_SanDiego" # Execute Create Feature Linked Anno tool arcpy.CreateFeatureLinkedAnnotation_aviation(productLibraryWork, productionDb, inFeatures, inCharts)
- ArcGIS Desktop Basic: No
- ArcGIS Desktop Standard: No
- ArcGIS Desktop Advanced: Requires Aviation Charting