while counti <= done: qry = "%s = %s" % (delimitedfield, counti) arcpy.SelectLayerByAttribute_management("L_LYR", "NEW_SELECTION",qry) arcpy.CopyFeatures_management("L_LYR", fcbase +str(counti)) counti = counti +1
delimitedfield = arcpy.AddFieldDelimiters(LayeredLayer, 'Rank')
I am trying to build a model that will apply a definition query to two layers, run a tool, and then reset the deinition query with my next variable until it reaches the end of my list. Any ideas?
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.