How to replace arcpy.CalculateField_management with an update cursor?

المشرف العام

Administrator
طاقم الإدارة
I'd like to replace this expression

arcpy.CalculateField_management(bufferFile, "Shape_Area", "float('!shape.area@squaremeters!')", "PYTHON")with an arcpy.da.updatecursor. The reason for this is that i want to avoid the cryptic syntax of the command above to improve code readability.

Is this possible?



أكثر...
 
أعلى