Remove Override (Cartography)
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})
Parameter | Explanation | Data 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.
| 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