kimoThanks for the reply.I'm not having any performance issues, which, once I get this type of script to run, perhaps i will. At that point, I would submit a thread to fix.Your other suggestions sound interesting, but a little beyond me. I'm trying to learn all I can, but at the same time not get fired for spending too much time learning and not enough doing.If I am "identifying" parcels that are within a spatial domain of another selected layer, it seems redundant to create a 'dictionary' of this relationship anywhere except in the parcels attribute table. This is a very simple process to do in ArcMap, but as i said, trying to learn.Thanks to another suggestion, I am able to get the code to run using the following:arcpy.MakeFeatureLayer_management(Jurs_dis, "JurLyr")
rows = arcpy.SearchCursor("JurLyr", "", "", "Jur_Name", "")
arcpy.MakeFeatureLayer_management(parcels, "parcLyr")
for row in rows:
arcpy.SelectLayerByLocation_management("parcLyr", "HAVE_THEIR_CENTER_IN", "JurLyr", "", "NEW_SELECTION")
arcpy.CalculateField_management("parcLyr", "Dist_amec", '"%s" %(row.Jur_Name)', "PYTHON")
However, this code populates all the parcels with the first jurName in the JurLyr. Instead of just populating the correct parcels within each jurName. Since there is one feature for each jurName, i assumed the updatecursor would loop through the attribute table. But, maybe I need something to make this iterate?Thanks for any input you can provide.Rich