jeremytibbetts

Searching Fields to Find Values and Make Calculations with Python

Discussion created by jeremytibbetts on Oct 17, 2011
Latest reply on Oct 18, 2011 by storercd
Hello,
I am still using ArcGIS 9.3, but I am attempting to create a python script.

What I want to do is create a script that reads each feature within a feature class, finds seperate fields and performs a calculation using the values within the field.

Essentially what I am doing is; adding X_field and Y_field together and putting that sum within the Z_field, within the A_featureclass.

I know to use a search cursor, but have not been able to get the syntax correct. I was hoping someone could give me a basic method for coming up with a solution.

Thank you,

JT

Outcomes