ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Drop Representation

  • Summary
  • Usage
  • Syntax
  • Code Sample
  • Environments
  • Licensing Information

Summary

Deletes a feature class representation from a geodatabase feature class.

Usage

  • Once a feature class representation is deleted from a feature class, all representation rules and feature overrides associated with that representation are deleted. No features from the source feature class are deleted.

  • A feature class representation cannot be deleted from a feature class during an editing session. Deleting a representation is a schema change and schema changes are prevented during an editing session.

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

Licensing Information

  • ArcGIS for Desktop Basic: No
  • ArcGIS for Desktop Standard: Yes
  • ArcGIS for Desktop Advanced: Yes

Related Topics

  • An overview of the Representation Management toolset
  • Add Representation
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal