Create Feature Linked Annotation (Aviation)

许可等级:BasicStandardAdvanced

摘要

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:

用法

语法

CreateFeatureLinkedAnnotation_aviation (in_product_library_workspace, in_production_database_workspace, input_feature_class, input_instance)
参数说明数据类型
in_product_library_workspace

Path to the product library workspace.

Workspace
in_production_database_workspace

The workspace that contains the data used for production tasks or display on maps and charts.

Workspace
input_feature_class
[input_feature_class,...]

The feature classes where annotation can be created.

String
input_instance
[input_instance,...]

The path to and name of the instance that you want to use to create annotation.

String

代码实例

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 for Desktop Basic: 否
ArcGIS for Desktop Standard: 否
ArcGIS for Desktop Advanced: 需要 Aviation Charting
4/27/2014