laptop and a wrench

Error

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.

Última publicación: November 30, 2022 ArcGIS Pro
Número de ID del error BUG-000152997
EnviadoOctober 13, 2022
Última modificaciónMay 19, 2025
Relacionado conArcGIS Pro
Versión encontrada3.0.2
Sistema operativoWindows OS
Versión de sistema operativoN/A
EstadoAs Designed

Información adicional

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.

Pasos para reproducir

ID del error: BUG-000152997

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga