laptop and a wrench

Bug

The custom script tool in ArcGIS Pro does not update the parameters when trying to extract the values of the selected extent and update them in other parameters.

Last Published: November 30, 2022 ArcGIS Pro
Bug ID Number BUG-000152997
SubmittedOctober 13, 2022
Last ModifiedMay 19, 2025
Applies toArcGIS Pro
Version found3.0.2
Operating SystemWindows OS
Operating System VersionN/A
StatusAs Designed

Additional Information

The provided code sample attempts to set the GPPoint value using code such as 'self.params[0] = f'{extent.XMin} {extent.YMin}'', where 'extent' is the updated Extent parameter which values are retrieved. The code sets 'self.params[0]' to a string value, which is not the desired behavior. Instead, set the value using 'self.params[0].value = f'{extent.XMin} {extent.YMin}''. This method works as expected and correctly updates in the updateParameters block.

Steps to Reproduce

Bug ID: BUG-000152997

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