Drop Index (Coverage)

Summary

Drops an attribute index from the specified item and INFO table.

Usage

Syntax

DropIndex_arc (in_info_table, {index_item})
ParameterExplanationData Type
in_info_table

The name of the INFO table containing the item whose index is to be deleted.

Arcinfo Table
index_item
[index_item,...]
(Optional)

Selects the item indexes from the input INFO table to be removed. If no Index Item is given, all item indexes for the file will be dropped.

The Add Item button, which is used only in ModelBuilder, allows you to add expected items so you can complete the dialog and continue to build your model.

ArcInfo Item

Code Sample

DropIndex example (stand-alone script)

The following stand-alone script demonstrates how to drop the index from an item in a coverage's polygon attribute table.

# Name: DropIndex_Example.py
# Description: Drops the index from an item in a polygon featureclass
# Requirements: ArcInfo Workstation
# Author: ESRI

# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/data"

# Set local variables
inInfoTable = "tongass1/polygon"
indexItem = "IN-FISH"

# Execute DropIndex
arcpy.DropIndex_arc(inInfoTable, indexItem)

Environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: No
ArcInfo: Requires ArcInfo Workstation installed

Published 6/8/2010