shapeField = arcpy.Describe("Feature Class").ShapeFieldName
deltaX = 10
deltaY = 10
c = arcpy.UpdateCursor("Feature Class")
for row in c:
partnum = 0
feat = row.getValue(shapefieldname)
for part in feat:
for pnt in feat.getPart(partnum):
pnt.X = pnt.X + deltaX
pnt.Y = pnt.Y + deltaY
c.updateRow(row)
import arcpy shapeField = arcpy.Describe(r"C:\2011\ACCESOS\accesos_yan_loc_psad56.shp").ShapeFieldName deltaX = 10 deltaY = 10 c = arcpy.UpdateCursor(r"C:\2011\ACCESOS\accesos_yan_loc_psad56.shp") for row in c: partnum = 0 feat = row.getValue(shapeField) for part in feat: for pnt in feat.getPart(partnum): pnt.X = pnt.X + deltaX pnt.Y = pnt.Y + deltaY c.updateRow(row)