Currently, I am attempting to write a script in #python 2.7.11 using arcpy.da.update.cursor Essentially, I have an original script that works, which I need to rewrite and shorten. The original script is posted below. The script is for a tool in ArcGIS used to calculate a desired number of Circuit ID's for the appropriate carrier. Based on the input, the IDs are written back on to a table.
Any help with the rewrite would be much appreciated. The question with this script is, should there be additional parameters in the line <cursor.da.updateRow(row)>. The major issue, populating data back, seems to be with the with arcpy.da.cursor.update. Additional info: I wrote both of the scripts utilizing itertools (iterate), thinking I could replicate the pattern of the table quickly. The rest of the code, other than the update of the CircuitIDs, is identical.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.