Drop Item (Coverage) |
|
Release 9.2
Last modified February 6, 2007 |
![]() ![]() ![]() Print all topics in : "Tools" |
NOTE: This tool only works with an ArcInfo license and will only be available in ArcToolbox if you have installed ArcInfo Workstation.
Deletes one or more items from an INFO table.
Usage tips
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 following environments affect this tool: derivedPrecision, newPrecision, projectCompare, scratchWorkspace, and workspace.
Command line syntax
An overview of the Command Line window
DropItem_arc <in_info_table> <out_info_table> <drop_item;drop_item...>
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. 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; ArcInfo Item... |
dropitem_arc stands.tab stands.tab "hs-index;value-per-meter"
Scripting syntax
About getting started with writing geoprocessing scripts
DropItem_arc (in_info_table, out_info_table, drop_item)
Parameter | Explanation | Data Type |
in_info_table (Required) |
The INFO table containing the items to be dropped. |
ArcInfo Table |
out_info_table (Required) |
The INFO table to be created. |
ArcInfo Table |
drop_item (Required) |
The item or items to be dropped from the input table. 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; ArcInfo Item... |
# Drop an item from a table # Import system modules import arcgisscripting gp = arcgisscripting.create() # Local variables... workspace = "c:/project93/data/" input_table = "tra_airpor/polygon" output_table = "tra_airpor/polygon" try: # Set the current workspace (to avoid having to specify the full path to the feature classes each time) gp.workspace = workspace # Process: Drop Item... gp.DropItem_arc(input_table, output_table, "sites") except: # If an error occurred when running the tool, print out the error message. print gp.GetMessages()