Select Feature By Specification Override (Production Mapping)

概要

Selects features from feature classes or feature layers with representation rule IDs or calculated field values that do not match a selected visual specification.

使用法

構文

SelectFeatureBySpecificationOverride_production (input_layers, input_vs_table_location, input_specifications, invert_selection, run_on_reps, run_on_fields)
パラメータ説明データ タイプ
input_layers
[input_layers,...]

The list of feature layers and feature classes to search for specifications overrides.

Table View
input_vs_table_location

The location of the workspace that contains the visual specifications table. The VST_Specification table can be stored in a personal, file, or enterprise geodatabase.

Workspace
input_specifications
[input_specifications,...]

The visual specifications you want to apply to the selected feature layers.

String
invert_selection

Instructs the tool to switch its selection mode to features that do not have specification overrides.

  • NOT_INVERTSelect features from the input_layers list that have specification overrides. This is the default.
  • INVERT Select features from the input_layers list that do not have specification overrides.
Boolean
run_on_reps

Instructs the tool to process or exclude features in the input_layers list that have calculated representations.

  • RUN_ON_REPSProcess features from the input_layers list that have calculated representations. This is the default.
  • NOT_RUN_ON_REPS Do not process features from the input_layers list that have calculated representations.
Boolean
run_on_fields

Instructs the tool to process or exclude features in the input_layers list that have calculated fields.

  • RUN_ON_FIELDS Process features from the input_layers list that have calculated fields. This is the default.
  • NOT_RUN_ON_FIELDS Process features from the input_layers list that do not have calculated fields.
Boolean

コード サンプル

This stand-alone python script demonstrates how to invoke the SelectFeaturesbySpecificationOverride function.

# Name: SelectFeatureBySpecOverride.py
# Description: Selects features having representation rules IDs and/or calculated field values that do not match a selected specification
# Author: ESRI
# Date: April 2010

# Import arcpy module
import arcpy

# check out a production mapping extension license
arcpy.CheckOutExtension("Foundation")

# import the production mapping toolbox - you may have to alter this path
arcpy.ImportToolbox(r'C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Production Mapping Tools.tbx')

# local variables - paths to data
US_Cities = "C:/TestData/Sample/SampleData.mdb/cities"
Sample_Specification = "C:/TestData/Sample/SampleData.mdb" 

# Exec Select Features by Specification Override
arcpy.SelectFeaturesbySpecificationOverride_production(US_Cities, Sample_Specification, 'NewVisSpec::Test', "NOT_INVERT", "RUN_ON_REPS", "RUN_ON_FIELDS")  

# Check the extension license back in
arcpy.CheckInExtension("Foundation")  

環境

このツールは、ジオプロセシング環境では使用できません

関連項目

ライセンス情報

ArcView: 要 Production Mapping
ArcEditor: 要 Production Mapping
ArcInfo: 要 Production Mapping

9/17/2010