Drop Item (Coverage)
Deletes one or more items from an INFO table.
The Output Info Table can be the same name as the Input Info Table. However, if the Output Info Table already exists, it will be replaced.
Do not drop items before the User-ID in feature attribute tables. Redefined items will be dropped if their item definition relates to an item that was dropped.
Up to 100 items can be dropped with Drop Item.
The Items to Drop parameter's Add Item button is used only in ModelBuilder. In ModelBuilder, where the preceding tool has not been run, or its derived data does not exist, the Items to Drop parameter may not be populated with item names. The Add Item button allows you to add expected fields so you can complete the Drop Index dialog box and continue to build your model.
The INFO table containing the items to be dropped.
The INFO table to be created.
The item or items to be dropped from the input table.
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)