want to do a batch select layer by attribute

123
1
08-05-2020 09:19 PM
KarrenO_Neill
New Contributor

I have a large number of near identical layers which I would like to select by attribute as a batch or with in python is this possible?

0 Kudos
1 Reply
ModyBuchbinder
Esri Regular Contributor

Hi Karren

Make a ListFeatureClasses or ListLayers

For each layer you can run SelectByAttribute with the same expression.

You need to do MakeFeatureLayer if you use feature classes and not layers.

Have fun

Mody

0 Kudos