Drop Item (Coverage)

Summary

Deletes one or more items from an INFO table.

Usage

Syntax

DropItem_arc (in_info_table, out_info_table, drop_item)
ParameterExplanationData Type
in_info_table

The INFO table containing the items to be dropped.

ArcInfo Table
out_info_table

The INFO table to be created.

ArcInfo Table
drop_item
[drop_item,...]

The item or items to be dropped from the input table.

ArcInfo Item

Code Sample

DropItem example (stand-alone script)

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

# Name: DropItem_Example.py
# Description: Drops an item from a coverage's PAT to make an INFO table
# 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 = "stand/polygon"
outInfoTable = "C:/output/standrel"
dropItem = "VALUE-PER-METER"

# Execute DropItem
arcpy.DropItem_arc(inInfoTable, outInfoTable, dropItem)

Environments

Related Topics

Licensing Information

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

Published 6/8/2010