def main (a,b): return a
main(1, !field2!)
main(1,2)
main(!field3!, !field4!)
Isn't it this behavior?NIM059424 - Null values in the feature class do not get replaced when using Python in the Field Calculator.Seems to be fixed in 10.1.
from types import *
if type(c.field) is not NoneType:
c.field = None
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.