laptop and a wrench

Error

Locks on a feature layer are not released despite explicitly deleting the Result object in a script tool.

ArcGIS Pro
Número de ID del error BUG-000178530
EnviadoAugust 6, 2025
Última modificaciónAugust 31, 2025
Relacionado conArcGIS Pro
Versión encontrada3.5
Sistema operativoWindows OS
Versión de sistema operativo11.0 64 bit
EstadoAs Designed

Información adicional

There is no lock being left on the layer that is preventing it from rendering until the tool is done running. This is expected behavior from geoprocessing tools, as the geoprocessing framework runs in isolation and will update the map and layers upon completion of the tool. The framework only knows what layers to update or add to the map from a script tool if they are included in the parameters as output. It is best practice to include layers that need to be updated as output parameters in the script tool.

Pasos para reproducir

ID del error: BUG-000178530

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga