I am trying to use field calculator to number points between -700 and 700. I have used this code block:
rec=0
def autoIncrement():
global rec
pStart = 700
pInterval = -1
if (rec == 0):
rec = pStart
else:
rec += pInterval
return rec
which works great, but only numbers between 700 and 0, but I would like it to number all the way to -700 before starting over. Is this possible with this approach or do I need to try a different method?