I don't use python all the time, but since you guys are experts I figured this would be an easy one. In a point feature class, I'm trying to populate an ID field with 1's and 0's based on whether the FID is divisible by 28.
I've started the following code but can't get it to execute:
Any help on cleaning this up would be most appreciated. Thanks!
def myCalc(FID,ID): if FID % 28 == 0: return 1 else: return 0
أكثر...
I've started the following code but can't get it to execute:

Any help on cleaning this up would be most appreciated. Thanks!
def myCalc(FID,ID): if FID % 28 == 0: return 1 else: return 0
أكثر...