2018.11.8学习记录 ArcGIS属性表字段自动编号
属性表字段——字段计算器
Parser:
Python
Expression:
accumulate(!FieldA!)
Code Block:
total = 0
def accumulate(increment):
global total
if total:
total += increment
else:
total = increment
return total
2018.11.8学习记录 ArcGIS属性表字段自动编号
属性表字段——字段计算器
Parser:
Python
Expression:
accumulate(!FieldA!)
Code Block:
total = 0
def accumulate(increment):
global total
if total:
total += increment
else:
total = increment
return total