yousafhassan

using python scripts in models

Discussion created by yousafhassan on Oct 18, 2011
Latest reply on Oct 21, 2011 by yousafhassan
Hi I am trying to use python script in a model but it is throwing an error message:

ERROR 000539: Runtime error <type 'exceptions.NameError'>: name 'table2' is not defined
Failed to execute (Calculate Field).

I guess, it is about how to use table2 in the CalculateField_management function. I am not sure how I can do it.

I have attached the screen shot of my model and the script. Any help would be really appreciated.

Thanks

Attachments

Outcomes