Select to view content in your preferred language

Problem with 'Select By Layer By Location' tool

43
1
7 hours ago
YosefBodovski1
Emerging Contributor

There is a problem with the 'Select By Layer By Location' tool. It doesn't add selection to the original feature layer. Instead  It generates a new layer called ".._Layer1" which shows on the map, but not recognizable by the Python script. It looks like a bug to me. I've seen some earlier posts related to this issue, but apparently it has never been addressed.

What's interesting is that 'Select By Location' icon which appears on top opens a different tool called 'Select By Location'. This tool does what it's supposed to do, but I can't find it in the list of tools and can't use it in my Python script.

 

0 Kudos
1 Reply
DanPatterson
MVP Esteemed Contributor

Select Layer By Location (Data Management)—ArcGIS Pro | Documentation

creates  new layer from a layer as input,

if there is a selection already, you can add to the selection by using

selection_type

ADD_TO_SELECTION—The resulting selection will be added to an existing selection. If no selection exists, this is the same as the NEW_SELECTION option.


... sort of retired...
0 Kudos