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.
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.