Summary
Deletes raster catalog items, including all its contents, or a subset of its contents if there is a selection.
Usage
Only geodatabase raster catalogs are valid inputs.
When using ArcMap, you can use the Selection tool to choose which items to delete.
Syntax
DeleteRasterCatalogItems_management (in_raster_catalog)
Parameter | Explanation | Data Type |
in_raster_catalog | The input raster catalog that will have its items deleted. | Raster Catalog Layer |
Code sample
DeleteRasterCatalogItems example 1 (Python window)
This is a Python sample for the DeleteRasterCatalogItems tool.
import arcpy
arcpy.DeleteRasterCatalogItems_management("c:/data/DeleteRC.gdb/RC_managed")
DeleteRasterCatalogItems example 2 (stand-alone script)
This is a Python script sample for the DeleteRasterCatalogItems tool.
##===================
##Delete Raster Catalog Items
##Usage: DeleteRasterCatalogItems_management in_raster_catalog
import arcpy
arcpy.env.workspace = r"C:\PrjWorkspace"
##Delete FGDB Managed Raster Catalog - Support Selection in ArcMap
arcpy.DeleteRasterCatalogItems_management("DeleteRC.gdb\\Managed")
Environments
Licensing information
- ArcGIS Desktop Basic: Yes
- ArcGIS Desktop Standard: Yes
- ArcGIS Desktop Advanced: Yes