Drop Representation (Cartography)

License Level:BasicStandardAdvanced

Summary

Deletes a feature class representation from a geodatabase feature class.

Usage

Syntax

DropRepresentation_cartography (in_features, representation)
ParameterExplanationData Type
in_features

The input feature layer containing representation(s).

Feature Layer
representation

The feature class representation to be deleted.

String

Code Sample

DropRepresentation tool Example (Python Window)

The following Python window script demonstrates how to use the DropRepresentation tool in immediate mode.

import arcpy
from arcpy import env
env.workspace = "C:/data"
arcpy.DropRepresentation_cartography("footprints.lyr", "footprints_Rep")
DropRepresentation tool Example (stand-alone Python script)

This stand-alone script shows an example of using the DropRepresentation tool.

# Name: DropRepresentation_standalone_script.py
# Description: Deletes a feature class representation from a geodatabase feature class.
# Author: ESRI
 
# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/data"

# Set local variables
in_features = "footprints.lyr"
representation = "footprints_Rep"

# Execute Drop Representation
arcpy.DropRepresentation_cartography(in_features, representation)

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
3/3/2014