ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

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
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

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

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics

  • An overview of the Representation Management toolset
  • Select Feature By Override
  • Update Override

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

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

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2019 Esri. | Privacy | Legal