laptop and a wrench

Error

When running a script from a toolbox in ArcGIS Pro, arcpy.env.addOutputsToMap is set to False by default.

Última publicación: August 4, 2017 ArcGIS Pro
Número de ID del error BUG-000105416
EnviadoMay 26, 2017
Última modificaciónJune 5, 2024
Relacionado conArcGIS Pro
Versión encontrada1.4
Sistema operativoWindows OS
Versión de sistema operativo7
EstadoWill Not Be Addressed

Información adicional

Changing of environments and settings within a script tool are sandboxed to that particular tool. They do not update the application-level settings, this is by design, we don't want a setting set in a script tool to have ripples through subsequent tools. The addOutputsToMap setting really only applies after a tool has executed (adding the output of a tool to the map); thus there is really no use case where using this setting in a script tool would apply.

Pasos para reproducir

ID del error: BUG-000105416

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