Error
| Número de ID del error | BUG-000121616 |
|---|---|
| Enviado | April 10, 2019 |
| Última modificación | June 5, 2024 |
| Relacionado con | ArcGIS Pro |
| Versión encontrada | 2.3 |
| Sistema operativo | N/A |
| Versión de sistema operativo | N/A |
| Versión corregida | 2.6 |
| Estado | Fixed |
The Delete tool fails with ["a", "b", "c"] but succeeds with ["a;b;c"]. As a workaround follow the steps below:
## Use ListFeatureClasses with wildcard to obtain a list of feature classes to be deleted
fclist = arcpy.ListFeatureClasses(...)
arcpy.management.Delete(";".join(fclist))
This works in Python IDLE and standalone script, but does not work in the Python window of ArcGIS Pro.
ID del error: BUG-000121616
Software:
Obtener ayuda de expertos en ArcGIS
Descargar la aplicación de soporte de Esri