Delete Raster Catalog Items (Data Management)
Deletes raster catalog items, including all its contents, or a subset of its contents if there is a selection.
Only geodatabase raster catalogs are valid inputs.
When using ArcMap, you can use the Selection tool to choose which items to delete.
The input raster catalog that will have its items deleted.
|Raster Catalog Layer|
This is a Python sample for the DeleteRasterCatalogItems tool.
import arcpy arcpy.DeleteRasterCatalogItems_management("c:/data/DeleteRC.gdb/RC_managed")
This is a Python script sample for the DeleteRasterCatalogItems tool.
##=================== ##Delete Raster Catalog Items ##Usage: DeleteRasterCatalogItems_management in_raster_catalog try: import arcpy arcpy.env.workspace = r"C:\PrjWorkspace" ##Delete FGDB Managed Raster Catalog - Support Selection in ArcMap arcpy.DeleteRasterCatalogItems_management("DeleteRC.gdb\\Managed") except: print "Delete Raster Catalog Items example failed." print arcpy.GetMessages()