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!)
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.