Select Feature By Override (Cartography)

Summary

Selects features that have representation geometry and/or property overrides.

Usage

Syntax

SelectFeatureByOverride_cartography (in_features, {select_option})
ParameterExplanationData 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.

  • BOTHSelect features that have either representation geometry or property overrides. This is the default.
  • GEOMETRY_OVERRIDESelect all features that have representation geometry overrides.
  • REPRESENTATION_PROPERTY_OVERRIDESelect all features that have representation property overrides.
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.
 
# 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

Related Topics

Licensing Information

ArcView: No
ArcEditor: Yes
ArcInfo: Yes

11/11/2011