|Eclipse (Kepler version) ESRI & Arcpy [message #1141003]
||Wed, 16 October 2013 15:23
| Layne Seely
Registered: October 2013
I'm running the Kepler Release (Build 20130614-0229) on a Win 7 machine that has ArcGIS 10.1 installed on it. I've checked and I'm pretty sure that my software is up to date. It just updated the PyDev module this morning.
I cannot figure out what I am doing wrong but I think that within Eclipse, I don't have something set right. Here is the code:
fields = ("Tree, Tree2")
with arcpy.da.UpdateCursor(Polys, fields) as cursor:
for row in cursor:
row = row
Eclipse is giving me this error : "Undefined variable from import: UpdateCursor"
Powered by FUDForum
. Page generated in 0.01913 seconds