laptop and a wrench

Erro

arcpy.GetCount generates arcgisscripting.ExecuteError on result objects from arcpy.SelectByAttribute/Location when passed to a feature/map layer.

Última Publicação: May 28, 2019 ArcGIS Pro
Número de ID do Erro BUG-000122086
EnviadoMay 1, 2019
Última ModificaçãoJune 25, 2025
Aplica-se àArcGIS Pro
Versão encontrada2.3.2
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

We apologize that we were unable to address this issue within the current product support cycle.  If the issue continues to affect your work in a supported release, please contact Technical Support.

Solução Provisória

Use the result object from arcpy.MakeFeatureLayer, its output, or its output name in GetCount.

Or run the SelectBy on the result object from MakeFeatureLayer or the output name and then use that result object in GetCount.

Etapas para Reproduzir

ID do Erro: BUG-000122086

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