laptop and a wrench

Bug

In a script tool, output parameters provided to arcpy.GetParameterAsText() function are ignored when data type is set to Workspace and implemented into an if block with __name__ == '__main__'

Last Published: January 23, 2018 ArcGIS Pro
Bug ID Number BUG-000107395
SubmittedAugust 16, 2017
Last ModifiedMay 5, 2025
Applies toArcGIS Pro
Version found2.0.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

The first parameter must have a direction of Input.

Steps to Reproduce

Bug ID: BUG-000107395

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