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...

Remove Override

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

Summary

Removes geometry and/or property representation overrides from features participating in a feature class representation.

Usage

  • Features will not be deleted, just representation overrides.

  • The Remove Option parameter specifies which type of representation override will be removed.

    • Removing geometry overrides reassociates a feature with the geometry stored in its Shape field. The alternate representation geometry will be deleted. Geometry overrides are sometimes called shape overrides.
    • Removing property overrides removes all feature-specific property overrides and reverts the feature back to following the native representation rule.

Syntax

RemoveOverride_cartography (in_features, representation, {remove_option})
ParameterExplanationData Type
in_features

The input feature layer containing at least one representation.

Feature Layer
representation

The representation from which representation overrides will be removed.

String
remove_option
(Optional)

Specifies which types of overrides will be removed.

  • BOTH —Remove both geometry and property representation overrides. This is the default.
  • GEOMETRY_OVERRIDE —Remove representation geometry overrides only.
  • REPRESENTATION_PROPERTY_OVERRIDE —Remove representation property overrides only.
String

Code Sample

RemoveOverride tool Example (Python Window)

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

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

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

# Name: RemoveOverride_standalone_script.py
# Description: Removes geometry and/or property representation overrides from features participating in a feature class representation.
# 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"
remove_option = "BOTH"

# Execute Remove Override
arcpy.RemoveOverride_cartography(in_features, representation, remove_option)

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
  • Select Feature By Override
  • Update Override
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