I'm trying to write in test field from some layer based on iterate feature selction. I get succes using model builder but I'm fail when I try with my own code.
The process with MB.
The code and error.
Here is the code.
Change Line 24 in your code to this:
cursorIn = arcpy.UpdateCursor(insumo)
The feature class, shapefile, or table containing the rows to be updated or deleted.