<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Getting vertices from object in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692201#M53656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at the help "Reading Geometries",&lt;/P&gt;&lt;P&gt;here : &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002z0000001t000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//002z0000001t000000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The example is exactly what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2015 15:21:15 GMT</pubDate>
    <dc:creator>NeilAyres</dc:creator>
    <dc:date>2015-06-10T15:21:15Z</dc:date>
    <item>
      <title>Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692196#M53651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i am trying to write a code in python that will get me all the vertices from one polygon object. Normally that wouldn't be a problem, but this object comes from Geoview 6, and this polygon object has a hole in the center. In ArcGis 10.2, when you load polygon object, it looks normal. Sketch properties shows all vertices. But when i write a code to print vertices, or to get them in any way, it returns only the outer vertices. It doesn't show (print) 4 vertices inside. Can someone help, and write a code that will print all 19 vertices that this polygon has? &lt;/P&gt;&lt;P&gt;Most importantly, do not change the polygon in any way. When you modify the polygon and save changes, it works. But when i have 1000 polygons, i don't have time to modify them all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 11:54:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692196#M53651</guid>
      <dc:creator>ExEFan</dc:creator>
      <dc:date>2015-06-10T11:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692197#M53652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note that the &lt;A href="https://community.esri.com/space/2004"&gt;GeoNet Help&lt;/A&gt;​ space is for the discussions about GeoNet, not specific applications. I've moved this to the &lt;A href="https://community.esri.com/space/2145"&gt;Python&lt;/A&gt;​ space, but feel free to move it to a more appropriate space if necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you should add &lt;A _jive_internal="true" href="https://community.esri.com/docs/DOC-1103"&gt;tags&lt;/A&gt; to your discussion. This helps others in searching on the topic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 12:29:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692197#M53652</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2015-06-10T12:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692198#M53653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 12:39:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692198#M53653</guid>
      <dc:creator>ExEFan</dc:creator>
      <dc:date>2015-06-10T12:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692199#M53654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've just downloaded your data and ran it through the&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00170000003p000000"&gt; Feature vertices to Points&lt;/A&gt; tool which is an &lt;EM&gt;Advance&lt;/EM&gt; licensed tool and this extracted out to a new dataset all vertices, including those of the inner ring. So it works for me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="108611" alt="Capture.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/108611_Capture.PNG" style="width: 620px; height: 691px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 13:49:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692199#M53654</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2015-06-10T13:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692200#M53655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, but, as i have said, ArcGis recognizes the polygon, and it's functions work. I am interested in python solution. How to extract vertices from code, without ArcGis functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 15:10:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692200#M53655</guid>
      <dc:creator>ExEFan</dc:creator>
      <dc:date>2015-06-10T15:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692201#M53656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at the help "Reading Geometries",&lt;/P&gt;&lt;P&gt;here : &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002z0000001t000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//002z0000001t000000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The example is exactly what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 15:21:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692201#M53656</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2015-06-10T15:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692202#M53657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you intend to use a python approach in ArcGIS and you look at Neil's idea &lt;SPAN style="text-decoration: underline;"&gt;you still need to import arcpy&lt;/SPAN&gt; to use the cursors. If you are importing arcpy then why make lots of work for yourself when you can simply call the tool to do it! The only reason you would want to do it using cursors and accessing geometries is if you do not have an A&lt;EM&gt;dvance&lt;/EM&gt; license. You should state what your license level is in any question as this dictates what sort of solution you will get.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 15:30:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692202#M53657</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2015-06-10T15:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692203#M53658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i have looked there, and this is familiar to me. Like i have said, this would have worked with normal ArcGis polygon. Don't know why isn't working with those polygons created in Geoview 6. I was surprised when i tried in python to get the number of vertices. Function is pointCount. It got all the vertices. When i tried isMultipart, returned True. So it sees all vertices and part0 and part1. But i need to extract their coordinates. And every time i get only the exterior points. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 16:01:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692203#M53658</guid>
      <dc:creator>ExEFan</dc:creator>
      <dc:date>2015-06-10T16:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692204#M53659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, i want to use arcpy and cursors. I said that i want python solution. The problem is that i can't extract them all from python. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 16:06:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692204#M53659</guid>
      <dc:creator>ExEFan</dc:creator>
      <dc:date>2015-06-10T16:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692205#M53660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting, If I execute this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;def main():
&amp;nbsp;&amp;nbsp;&amp;nbsp; import arcpy
&amp;nbsp;&amp;nbsp;&amp;nbsp; import json
&amp;nbsp;&amp;nbsp;&amp;nbsp; fc = r"D:\Xander\GeoNet\Vertices\Sample.shp"

&amp;nbsp;&amp;nbsp;&amp;nbsp; row_cnt= 0
&amp;nbsp;&amp;nbsp;&amp;nbsp; with arcpy.da.SearchCursor(fc, ("SHAPE@")) as curs:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in curs:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; row_cnt += 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "feature: {0}".format(row_cnt)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; polygon = row[0]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "feature part count: {0}".format(polygon.partCount)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "feature point count: {0}".format(polygon.pointCount)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; part_cnt = 0
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for part in polygon:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; part_cnt += 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print " - Part: {0}".format(part_cnt)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pnt_cnt = 0
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for pnt in part:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pnt_cnt += 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "&amp;nbsp;&amp;nbsp; - pnt_cnt: {0}, {1}".format(pnt_cnt, pnt)

if __name__ == '__main__':
&amp;nbsp;&amp;nbsp;&amp;nbsp; main()&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... it lists:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;feature: 1
feature part count: 1
feature point count: 21
 - Part: 1
&amp;nbsp;&amp;nbsp; - pnt_cnt: 1, 572300,2334 4796865,7241 196,371199999994 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 2, 572294,1433 4796862,6476 196,477299999999 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 3, 572297,146 4796855,1305 196,995599999995 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 4, 572291,4095 4796851,9345 196,8024 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 5, 572294,1533 4796846,8767 195,8027 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 6, 572300,2434 4796850,1324 195,477599999998 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 7, 572303,0768 4796845,6122 195,526299999998 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 8, 572298,3959 4796841,5202 191,434299999994 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 9, 572292,52 4796839,1306 195,599499999997 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 10, 572289,6965 4796844,3179 198,8995 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 11, 572283,8255 4796841,2414 197,298299999995 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 12, 572277,5213 4796853,9258 196,550499999998 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 13, 572280,8427 4796856,7733 198,663799999995 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 14, 572274,3592 4796864,141 196,664300000004 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 15, 572297,1012 4796873,5896 196,257899999997 0
&amp;nbsp;&amp;nbsp; - pnt_cnt: 16, 572300,2334 4796865,7241 196,371199999994 0&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, if I access the JSON property of the polygon I do see the two rings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;def main():
&amp;nbsp;&amp;nbsp;&amp;nbsp; import arcpy
&amp;nbsp;&amp;nbsp;&amp;nbsp; import json
&amp;nbsp;&amp;nbsp;&amp;nbsp; fc = r"D:\Xander\GeoNet\Vertices\Sample.shp"

&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; with arcpy.da.SearchCursor(fc, ("SHAPE@")) as curs:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in curs:
&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; polygon = row[0]&lt;/SPAN&gt;
&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jsn = polygon.JSON&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dct = json.loads(jsn)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rings = dct["rings"]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rng_cnt = 0
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for r in rings:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rng_cnt += 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "ring: {0}".format(rng_cnt)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p_cnt = 0
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for p in r:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p_cnt += 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print " - pnt: {0}, {1}".format(p_cnt, p)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
if __name__ == '__main__':
&amp;nbsp;&amp;nbsp;&amp;nbsp; main()&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... it lists the two rings and all the points:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;ring: 1
 - pnt: 1, [572289.7662000004, 4796863.0558, 198.3188999999984, 0]
 - pnt: 2, [572283.2280000001, 4796859.4516, 197.790599999993, 0]
 - pnt: 3, [572288.4415999996, 4796853.5474, 199.08299999999872, 0]
 - pnt: 4, [572293.2719, 4796857.818700001, 199.1073000000033, 0]
 - pnt: 5, [572289.7662000004, 4796863.0558, 198.3188999999984, 0]
ring: 2
 - pnt: 1, [572300.2334000003, 4796865.724099999, 196.37119999999413, 0]
 - pnt: 2, [572294.1432999996, 4796862.647600001, 196.47729999999865, 0]
 - pnt: 3, [572297.1459999997, 4796855.1305, 196.99559999999474, 0]
 - pnt: 4, [572291.4095000001, 4796851.9344999995, 196.8024000000005, 0]
 - pnt: 5, [572294.1533000004, 4796846.876700001, 195.8027000000002, 0]
 - pnt: 6, [572300.2434, 4796850.1324000005, 195.47759999999835, 0]
 - pnt: 7, [572303.0767999999, 4796845.612199999, 195.52629999999772, 0]
 - pnt: 8, [572298.3958999999, 4796841.520199999, 191.43429999999353, 0]
 - pnt: 9, [572292.5199999996, 4796839.1306, 195.59949999999662, 0]
 - pnt: 10, [572289.6964999996, 4796844.3179, 198.89949999999953, 0]
 - pnt: 11, [572283.8255000003, 4796841.2414, 197.29829999999492, 0]
 - pnt: 12, [572277.5213000001, 4796853.925799999, 196.55049999999756, 0]
 - pnt: 13, [572280.8426999999, 4796856.7733, 198.6637999999948, 0]
 - pnt: 14, [572274.3591999998, 4796864.141000001, 196.664300000004, 0]
 - pnt: 15, [572297.1012000004, 4796873.5896000005, 196.25789999999688, 0]
 - pnt: 16, [572300.2334000003, 4796865.724099999, 196.37119999999413, 0]&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:07:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692205#M53660</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-12T05:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692206#M53661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still think using the Feature vertices to point tool is your easiest option but I got interested in the idea of writing it as cursors and accessing geometries. I knocked some code together but it failed. I ran your sample data through the repair geometry tool and re-ran the code and it still failed. I then took a closer look at your data and discovered it does not conform to the definition of polygons with interior rings. Part zero should be the EXTERIOR ring and CLOCKWISE. In your data what looks like the exterior ring is the interior ring! Each ring has the correct orientation but is the wrong part number. Create a polygon with a hole in it in ArcMap and everything is as expected and the code runs spewing out XY for interior rings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it's not your code that is at fault it is the data and the software that generated it. It looks like what ever created it has built the polygon in to out rather than out to in.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="108626" alt="Capture.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/108626_Capture.PNG" style="width: 620px; height: 367px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 16:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692206#M53661</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2015-06-10T16:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692207#M53662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't explain why the da.SearchCursor Search@ token ignores the second part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can, however, get at the vertices by flipping to numpy and back again, setting explode to points as True.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt; sr = arcpy.Describe("Sample").spatialReference
... nparr = arcpy.da.FeatureClassToNumPyArray("Sample","*","",sr,True)
... arcpy.da.NumPyArrayToFeatureClass(nparr,r'C:/junk/out.shp','Shape',sr)&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="108629" alt="1.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/108629_1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:07:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692207#M53662</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2021-12-12T05:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692208#M53663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a nifty way, I like that! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 18:31:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692208#M53663</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2015-06-10T18:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692209#M53664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 20:05:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692209#M53664</guid>
      <dc:creator>ExEFan</dc:creator>
      <dc:date>2015-06-10T20:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting vertices from object</title>
      <link>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692210#M53665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 20:08:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/getting-vertices-from-object/m-p/692210#M53665</guid>
      <dc:creator>ExEFan</dc:creator>
      <dc:date>2015-06-10T20:08:17Z</dc:date>
    </item>
  </channel>
</rss>

