Select to view content in your preferred language

Creating layers for each attribute value via Arcpy script

5585
10
Jump to solution
04-28-2015 06:40 AM
deleted-user-3rTxRfVTcNm-
New Contributor III

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.

0 Kudos
10 Replies
DavidBrett
New Contributor III

Is there a working solution for this?

0 Kudos