AnsweredAssumed Answered

Add/Calculate Field within a python script

Question asked by alex92190 on Mar 14, 2013
Latest reply on Mar 15, 2013 by curtvprice
Hi all,
I am trying to build a tool in python that selects by location, copy to new feature class, add a field to the new feature class, and calculate the field that was just added in the script. The first part of the script works well, however it stops working when adding field/calculating field. I am not quite sure why...
The error is: ERROR 000728 on CalculateField: Field Does not exist. In my script I specifically added a python line to add a line.
What lines in this script are wrong (adding field or calculate field, both?)
Thanks,
Alex

PS: The calculate field first purpose was to do the following: the field "Update" = "arcpy.GetParameter(3)" (the text will be entered by the tool user.

Attachments

Outcomes