AnsweredAssumed Answered

How to get count from selectlayerbyattribute

Question asked by hcopropappr on Aug 15, 2014
Latest reply on Aug 15, 2014 by hcopropappr

I'm doing an arcpy.SelectLayerByAttribute_management and everything is working fine.  However I need to know if no records are selected so that I can handle that in my program.  If I do something like selCount = arcpy.SelectLayerByAttribute_management....  will that give me the selected count?  What if I wanted to iterate through each of the selected features?  How would I go about doing that?

Outcomes