Hi~~
Please see why there is an error.
#1 You have !PNAME! as one of the parameters and you are trying to calculate the PNAME field.. You can't use the PNAME field to calculate itself
#2 Assuming that you have to calculate values into the PNAME field and you need values from 2 fields, you didn't pass in two arguments to the script in the Pname section the expression line
# 3 AND you need to remove the
#code
Reclass(!Name!, !Pname!)
in the Code block section. Those lines are not supposed to be included in the code block.
I think you just copied and pasted an example and put some of the wrong things in the wrong place
Hoping that wasn't you downvoting
I haven't figured out where the right place is yet.I'll do a little more research.
It's a little difficult.
Thank you for your reply.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.