Joke Collection Website - Cold jokes - Xianx joke

Xianx joke

Cursor = arcpy.da.search cursor (fc name, ["OID@ ","shape @ ","shape @X ","shape @Y ","fairy x ","fairy y"], "FID=0").

For rows in a cursor:

partnum = 0

For the part in line [1]:

i=0

For partial pnt:

If pnt:

i += 1

A = part [0]. X

B = part [0]. Y

a 1 = pnt。 X

b 1 = pnt。 Y

Part number += 1