Select to view content in your preferred language

loop through table and select similar ids

12-17-2020 02:29 PM
Occasional Contributor

I want to loop thorugh points feature and select points with similar ids  and then process them. How to loop through table to select points with similar ids with each loop untill the end?

Tags (2)
0 Kudos
1 Reply
MVP Esteemed Contributor

@MuhammadFayaz, I moved your question to the Python space because it appears you are using ArcMap and are likely talking ArcPy instead of ArcGIS API for Python.

There are several ways to accomplish what you want, but the best way depends on how you intend to process the records after selecting them.  If you can share that, people can chime in with a specific approach that might work best.