laptop and a wrench

Erro

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 Publicação: November 30, 2022 ArcGIS Pro
Número de ID do Erro BUG-000152997
EnviadoOctober 13, 2022
Última ModificaçãoMay 19, 2025
Aplica-se àArcGIS Pro
Versão encontrada3.0.2
Sistema OperacionalWindows OS
Versão do Sistema OperacionalN/A
StatusAs Designed

Informações Adicionais

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.

Etapas para Reproduzir

ID do Erro: BUG-000152997

Software:

  • ArcGIS Pro

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download