Another bug, I think: import arcpy p = arcpy.Point() a = arcpy.Array() a.add(p) a.add(p) a.add(p) p.X=11 a.replace(0,p) #so far so good p.X=12 a.replace(2,p) #but, they are both replaced p2 = arcpy.Point() #however, if you make a new point... p2.X=42 a.replace(2,p2)#...it goes only where expected If you change an attribute of an existing point object, even the id, and then replace it somewhere, it will replace all the old instances in the array with the new attribute. (So maybe it's not a bug?) (just a little annoying)
... View more