laptop and a wrench

Bug

Selection cannot be cleared using the setSelectionSet method, and a new selection with zero records is created instead.

Last Published: November 25, 2020 ArcGIS Pro
Bug ID Number BUG-000135542
SubmittedNovember 18, 2020
Last ModifiedJuly 9, 2025
Applies toArcGIS Pro
Version found2.7 Beta
Operating SystemWindows OS
Operating System Version10.0
Version Fixed2.7.2
StatusFixed

Workaround

Run arcpy.SelectLayerByAttribute_management(lyr, "CLEAR_SELECTION").

Steps to Reproduce

Bug ID: BUG-000135542

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options