Drop Visual Specifications (Production Mapping)
摘要
Removes the fields associated with visual specifications from the selected feature layers and feature classes.
用法
You can add tables, table views, feature classes, or feature layers to the Input Features list. Each entry must have representation rule IDs or calculated field values defined.
You must specify a workspace that contains the visual specifications in the Visual Specification Workspace parameter.
Once you have set Visual Specification Workspace, the Visual Specifications list will populate. Use this list to select the visual specifications that you would like to remove from the Input Features list.
This tool removes all fields associated with the calculated representations and text strings from the feature layers and feature classes.
语法
参数 | 说明 | 数据类型 |
in_features [in_features,...] |
The feature layers, feature classes, or tables for which you want to remove the fields associated with visual specifications. | Table View |
vs_workspace |
The workspace containing the visual specifications table. The visual specification table can be stored in a personal, file, or an enterprise geodatabase. | Workspace |
specifications [specifications,...] |
The visual specifications whose fields you want to remove from the selected feature layers and feature classes. | String |
代码实例
The following Python window script demonstrates how to use the DropVisualSpecifications tool.
import arcpy
# set gp environment
arcpy.env.workspace="c:/data"
# input parameter variables
roadL = "Austin.gdb/TopographicMap/RoadL"
productLibrary = "ProductLibrary.gdb"
visualspec="'TopoMap 1:24,000 :: TopoMap 1:24,000 Specification'"
# drop Visual Specifications on RoadL
arcpy.DropVisualSpecifications_production(roadL, productLibrary, visualspec)