laptop and a wrench

Bug

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

Last Published: August 4, 2017 ArcGIS Pro
Bug ID Number BUG-000105416
SubmittedMay 26, 2017
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found1.4
Operating SystemWindows OS
Operating System Version7
StatusWill Not Be Addressed

Additional Information

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.

Steps to Reproduce

Bug ID: BUG-000105416

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options