Erro
| Número de ID do Erro | BUG-000121616 |
|---|---|
| Enviado | April 10, 2019 |
| Última Modificação | June 5, 2024 |
| Aplica-se à | ArcGIS Pro |
| Versão encontrada | 2.3 |
| Sistema Operacional | N/A |
| Versão do Sistema Operacional | N/A |
| Versão Fixa | 2.6 |
| Status | 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 do Erro: BUG-000121616
Software:
Obtenha ajuda de especialistas do ArcGIS
Baixe o Aplicativo de Suporte da Esri