Drop Index (Coverage)

License Level:BasicStandardAdvanced

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.

INFO 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.

INFO 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

# 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

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: No
ArcGIS for Desktop Advanced: Requires ArcInfo Workstation installed
6/18/2012