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.