I have a 10.2.1 Feature class defined in a SQL 2016 Enterprise Geodatabase..
XY Resolution 0.000000016065314
XY Tolerance 0.0000000032130629
My expectation was that when I updated rows in this Feature class that these specifications would be honoured.
When this did not happen I tried adding appropriate environment variables, but ESRI still seems to be using some default values.
The following code attempts to update 10 rows defining squares that are offset by 0.0001 degrees
#arcpy.env.XYTolerance = "0.00002 Meters"
basey = 0
Initialx = 0.01
Initialy = 0.01
incX = 0.0001
incY = 0.0001
count = 10
genum = 4040030 + c
where = "GE_NUM = " + str(genum)
cursor1 = arcpy.da.UpdateCursor(layerpath,["SHAPE@"],where)
y = basey + (c * incY)
x1 = basex + Initialx + (c * incX)
y1 = basey + Initialy + (c * incY)
array = arcpy.Array([arcpy.Point(x,y),
polygon = arcpy.Polygon(array)