After we upgraded to ArcGIS Pro version 3.3.1 we are no longer able to run the autoIncrement script to populate values in a field calculate. Attached is the error we're seeing where it is referencing a function was not found. Has anyone come across this issue?
rec=0
def autoIncrement():
global rec
pStart = 1
pInterval = 1
if (rec == 0):
rec = pStart
else:
rec += pInterval
return rec
