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.
DropVisualSpecifications(in_features, vs_workspace, specifications)
The feature layers, feature classes, or tables for which you want to remove the fields associated with visual specifications.
The workspace containing the visual specifications table. The visual specification table can be stored in a personal, file, or an enterprise geodatabase.
The visual specifications whose fields you want to remove from the selected feature layers and feature classes.
DropVisualSpecifications example (Python window)
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)
- ArcGIS Desktop Basic: No
- ArcGIS Desktop Standard: Requires Production Mapping
- ArcGIS Desktop Advanced: Requires Production Mapping