ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Drop Item

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

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

arcpy.arc.DropItem(in_info_table, out_info_table, drop_item)
ParameterExplanationData Type
in_info_table

The INFO table containing the items to be dropped.

INFO Table
out_info_table

The INFO table to be created.

INFO Table
drop_item
[drop_item,...]

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

INFO 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

# 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

  • Current Workspace
  • Level Of Comparison Between Projection Files
  • Precision For Derived Coverages
  • Precision For New Coverages
  • Scratch Workspace

Licensing information

  • Basic: No
  • Standard: No
  • Advanced: Requires ArcInfo Workstation installed

Related topics

  • An overview of the Items toolset

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal