AnsweredAssumed Answered

Creating layers for each attribute value via Arcpy script

Question asked by master.florin on Apr 28, 2015
Latest reply on May 27, 2015 by davidbrett

I'm having some trouble starting this script. Not sure how to start, as I have to create/output layers for each attribute value from a certain column named that has integers. They are all unique values.

My first thought was to somehow use MakeFeatureLayer but then again, how do you create the layers without making countless of local variables with layer name.

Another idea would be to use the SearchCursor to iterate each value, and place a layer for each but then again how would I do that.

Looking forward to some suggestions.