I am trying to loop thru selected features using the da.SearchCursor statement below. It works when the users selects something. When there are no points or lines selected it returns the whole layer. Should I be using another function?
with arcpy.da.SearchCursor(manhole_layer,"*") as cursor:
for row in cursor: