Drop Item (Coverage)
Summary
Deletes one or more items from an INFO table.
Usage
-
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.
Syntax
Parameter | Explanation | Data 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
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)