In this video, we'll learn how to generate sequential numbers using field calculator in ArcGIS. Hope you can enjoy! If you face any problems, feel free to comment.
▶ PreLogic Script Code:
rec=0
def autoIncrement():
global rec
pStart = 1
pInterval = 1
if (rec == 0):
rec = pStart
else:
rec += pInterval
return rec
▶ Paste the following code in the smaller box below the PreLogic Script Code:
autoIncrement()
#arcgis #arcmap #fieldcalculator