laptop and a wrench

Bogue

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

Dernière publication: August 4, 2017 ArcGIS Pro
Numéro d’ID de bogue BUG-000105416
EnvoiMay 26, 2017
Dernière modificationJune 5, 2024
S’applique àArcGIS Pro
Version trouvée1.4
Système d’exploitationWindows OS
Version du système d’exploitation7
StatutWill Not Be Addressed

Informations supplémentaires

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.

Étapes pour reproduire

ID de bogue: BUG-000105416

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement