Based on my understanding in coding, I thought the following code will list all points in every feature in my Building polygon feature class:
arcpy.env.workspace=r'D:\test.gdb'
rows=arcpy.da.SearchCursor("Building","Shape@")
for row in rows:
print row
for p in row:
print p
But that displays the following results for each polygon:
(<Polygon object at 0x324838f0[0x32483ee0]>,)
<geoprocessing describe geometry object object at 0x32483EE0>
What is missing in my code?
arcpy.da.SearchCursor("Building","Shape@XY")
, see also desktop.arcgis.com/en/arcmap/10.3/analyze/python/…