<?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 arcpy.FeatureToPoint_management in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-featuretopoint-management/m-p/38300#M2993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;arcpy.FeatureToPoint_management expects a Feature Layer as in_features (&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/feature-to-point.htm"&gt;http://pro.arcgis.com/en/pro-app/tool-reference/data-management/feature-to-point.htm&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;My in_features is a polygon feature&amp;nbsp;layer with many polygons but I only want to use the selected polygon in the FeatureToPoint_management.&lt;/P&gt;&lt;P&gt;Any thoughts as to how to best do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe create a in memory feature class, add the selected polygon there then use that as in_features? This thought just popped into my mind right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2018 15:39:28 GMT</pubDate>
    <dc:creator>ChrisHolmes</dc:creator>
    <dc:date>2018-11-12T15:39:28Z</dc:date>
    <item>
      <title>arcpy.FeatureToPoint_management</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-featuretopoint-management/m-p/38300#M2993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;arcpy.FeatureToPoint_management expects a Feature Layer as in_features (&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/feature-to-point.htm"&gt;http://pro.arcgis.com/en/pro-app/tool-reference/data-management/feature-to-point.htm&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;My in_features is a polygon feature&amp;nbsp;layer with many polygons but I only want to use the selected polygon in the FeatureToPoint_management.&lt;/P&gt;&lt;P&gt;Any thoughts as to how to best do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe create a in memory feature class, add the selected polygon there then use that as in_features? This thought just popped into my mind right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2018 15:39:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-featuretopoint-management/m-p/38300#M2993</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2018-11-12T15:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.FeatureToPoint_management</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-featuretopoint-management/m-p/38301#M2994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most, not sure if all, geoprocessing tools honor selections on feature layers and table views.&amp;nbsp; Have you tried selecting the polygon you want in the feature layer and running the tool?&amp;nbsp; How are you selecting the polygon, GUI, geoprocessing tool, etc...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2018 16:27:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-featuretopoint-management/m-p/38301#M2994</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-11-12T16:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.FeatureToPoint_management</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-featuretopoint-management/m-p/38302#M2995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. I haven’t tried to just run it and see if it honours the selection. It’s selected by another script earlier in the model. I’ll give it a try. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2018 16:29:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-featuretopoint-management/m-p/38302#M2995</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2018-11-12T16:29:25Z</dc:date>
    </item>
  </channel>
</rss>

