laptop and a wrench

漏洞

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

上次发布: May 28, 2019 ArcGIS Pro
漏洞 ID 编号 BUG-000122086
已提交May 1, 2019
上次修改时间June 25, 2025
适用范围ArcGIS Pro
找到的版本2.3.2
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Will Not Be Addressed

附加信息

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.

解决办法

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.

重现步骤

漏洞 ID: BUG-000122086

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项