Pre-Logic Script Code: def myFunction(input1, input2): Input1 = int(input1) Input2 = int(input2) # do Calculation... i.e. # x = 2*Input1 + 3*Input2 # return the result of the calculation - this value is placed in the new field... return x Expression: myFunction(!input1!, !input2!)
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.