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.

Zuletzt veröffentlicht: November 30, 2022 ArcGIS Pro
Bug-ID-Nummer BUG-000152997
EingereichtOctober 13, 2022
Zuletzt geändertMay 19, 2025
Gilt fürArcGIS Pro
Gefunden in Version3.0.2
BetriebssystemWindows OS
BetriebssystemversionN/A
StatusAs Designed

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000152997

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln