Summary
Selects features that have representation geometry and/or property overrides.
Usage
Input Features must be a layer whose source is a geodatabase feature class with at least one feature class representation.
The output is a selected set, so the results can only be used in models, scripts, and in ArcMap sessions.
Representation geometry overrides are sometimes called representation shape overrides.
Syntax
SelectFeatureByOverride_cartography (in_features, {select_option})
Parameter | Explanation | Data Type |
in_features | The input feature layer containing representations. | Layer |
select_option (Optional) | Specifies the type of representation override to use as a selection criterion.
| String |
Code sample
SelectFeatureByOverride tool Example (Python Window)
The following Python window script demonstrates how to use the SelectFeatureByOverride tool in immediate mode.
import arcpy
from arcpy import env
env.workspace = "C:/data"
arcpy.SelectFeatureByOverride_cartography("footprints.lyr", "BOTH")
SelectFeatureByOverride tool Example (stand-alone Python script)
This stand-alone script shows an example of using the SelectFeatureByOverride tool.
# Name: SelectFeatureByOverride_standalone_script.py
# Description: Selects features that have representation geometry and/or property overrides.
# 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"
select_option = "BOTH"
# Execute Select Feature By Override
arcpy.SelectFeatureByOverride_cartography(in_features, select_option)
Environments
This tool does not use any geoprocessing environments.
Licensing information
- ArcGIS Desktop Basic: No
- ArcGIS Desktop Standard: Yes
- ArcGIS Desktop Advanced: Yes