Drop Visual Specification (Production Mapping)

Summary

Removes the fields associated with visual specifications from the selected feature layers and feature classes.

Usage

Syntax

DropVisualSpecification_production (input_layers, input_vs_table_location, input_specifications)
ParameterExplanationData Type
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

Code Sample

DropVisualSpecification example (Python window)

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'")

Environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: Requires Production Mapping
ArcInfo: Requires Production Mapping

5/4/2011