laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 4, 2017 ArcGIS Pro
Bug-ID-Nummer BUG-000105416
EingereichtMay 26, 2017
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Pro
Gefunden in Version1.4
BetriebssystemWindows OS
Betriebssystemversion7
StatusWill Not Be Addressed

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000105416

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln