Drop Visual Specification (Production Mapping)
Resumen
Removes the fields associated with visual specifications from the selected feature layers and feature classes.
Uso
The following fields are removed from input data for all applicable visual specifications:
- A field that holds the representation rule number
- An override field associated with the representation to store symbol exception information.
-
After removing fields, representation rules may still appear in the table of contents until the next time you open the map document in ArcMap.
-
This tool removes both calculated representations and text strings from the feature layers and feature classes.
Sintaxis
Parámetro | Explicación | Tipo de datos |
input_layers [input_layers,...] |
The feature layers, feature classes, or tables for which you want to remove the fields associated with visual specifications. | Table View |
input_vs_table_location |
The workspace containing the visual specifications table. The visual specification table can be stored in a personal, file, or an enterprise geodatabase. | Workspace |
input_specifications [input_specifications,...] |
The visual specifications whose fields you want to remove from the selected feature layers and feature classes. | String |
Ejemplo de código
The following ArcGIS Python window script removes visual specification fields from Production Mapping sample data.
# import the production mapping toolbox - you may have to alter this path arcpy.ImportToolbox(r'C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Production Mapping Tools.tbx') # paths to data SoCal_ProductLibrary_gdb = "C:\\data\\SoCal_ProductLibrary.gdb" RoadL = "C:\\data\\SoCal_Sample.gdb\\SoCal\\RoadL" # Drop Visual Specifications on RoadL arcpy.DropVisualSpecification_production(RoadL, SoCal_ProductLibrary_gdb, "'SoCal :: 1:250K specification'")