I have a question about sequential numbering. I found a script (i'll put it below), which allows me to make a sequential numbering based on OID and thats good. But what i need is different structure of numbering... for example, sometimes i need numbering from top to bottom of polygons line, sometimes from left to right or from bottom to top and so on. I'am using Arcgis pro (but example is made using simple arcmap) Code block: rec=0 def autoIncrement(string_prefix): global rec pStart = 1 #adjust start value, if req'd pInterval = 1 #adjust interval value, if req'd if (rec == 0): rec = pStart else: rec = rec + pInterval return string_prefix + str (rec). autoIncrement("24-1-(this number is changes sequentially"))
... View more