laptop and a wrench

漏洞

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.

上次发布: November 30, 2022 ArcGIS Pro
漏洞 ID 编号 BUG-000152997
已提交October 13, 2022
上次修改时间May 19, 2025
适用范围ArcGIS Pro
找到的版本3.0.2
操作系统Windows OS
操作系统版本N/A
状态As Designed

附加信息

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.

重现步骤

漏洞 ID: BUG-000152997

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项