What is the fastest/cleanest way to get a collection of rows that are selected in a certain layer? For some background, I am trying to hide selected features in a specified layer.
- The solution involving the use of SearchCursor uses the layer name, but my setup may involve duplicate named layers
- Another solution I found copies the selected rows into a new layer, which may be time costly for my setup.
Is there a way to get the selected rows by using a layer object which is provided by a script parameter?
v = filter(None, (map(ignore_if_string,arcpy.Describe(fl).FIDset.split("; "))))– GeoStoneMarten Dec 14 '15 at 16:47