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, 2022ArcGIS 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.