laptop and a wrench

Erro

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

Última Publicação: August 4, 2017 ArcGIS Pro
Número de ID do Erro BUG-000105416
EnviadoMay 26, 2017
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS Pro
Versão encontrada1.4
Sistema OperacionalWindows OS
Versão do Sistema Operacional7
StatusWill Not Be Addressed

Informações Adicionais

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.

Etapas para Reproduzir

ID do Erro: BUG-000105416

Software:

  • ArcGIS Pro

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download