Zusammenfassung
Removes the fields associated with visual specifications from the selected feature layers and feature classes.
Verwendung
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.
Syntax
DropVisualSpecifications(in_features, vs_workspace, specifications)
Parameter | Erläuterung | Datentyp |
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 |
Codebeispiel
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)
Umgebungen
Lizenzinformationen
- ArcGIS Desktop Basic: Nein
- ArcGIS Desktop Standard: Erfordert Production Mapping
- ArcGIS Desktop Advanced: Erfordert Production Mapping