Remove Override (Cartography)

License Level:BasicStandardAdvanced

Summary

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

Usage

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.

  • BOTHRemove both geometry and property representation overrides. This is the default.
  • GEOMETRY_OVERRIDERemove representation geometry overrides only.
  • REPRESENTATION_PROPERTY_OVERRIDERemove 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

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
10/25/2012