<?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: Use Input Selection to Create a Layer (Python Toolbox) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/use-input-selection-to-create-a-layer-python/m-p/1681744#M75091</link>
    <description>&lt;P&gt;You could use the Make Feature Layer tool:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.4/tool-reference/data-management/make-feature-layer.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/3.4/tool-reference/data-management/make-feature-layer.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The inputs would be your input feature layer.&lt;/P&gt;&lt;P&gt;If you want a persistent layer file, use the Save to Layer File tool:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/save-to-layer-file.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/save-to-layer-file.htm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Feb 2026 14:19:49 GMT</pubDate>
    <dc:creator>BobBooth1</dc:creator>
    <dc:date>2026-02-03T14:19:49Z</dc:date>
    <item>
      <title>Use Input Selection to Create a Layer (Python Toolbox)</title>
      <link>https://community.esri.com/t5/python-questions/use-input-selection-to-create-a-layer-python/m-p/1681651#M75089</link>
      <description>&lt;P&gt;In my ArcGIS Python toolbox, I want to be able to create a layer from the selected input feature used to run the tool. I have tried different way although nothing has worked yet. I guess I would need to get the selected feature from here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrandonPrice1_0-1770075262645.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/147775i344A611BE536182C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrandonPrice1_0-1770075262645.png" alt="BrandonPrice1_0-1770075262645.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;....and then create a layer from that in the execute.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Intent is to turn the selected feature into its own layer below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrandonPrice1_2-1770075536016.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/147778i093BE0CDCD119C73/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrandonPrice1_2-1770075536016.png" alt="BrandonPrice1_2-1770075536016.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 23:43:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/use-input-selection-to-create-a-layer-python/m-p/1681651#M75089</guid>
      <dc:creator>BrandonPrice1</dc:creator>
      <dc:date>2026-02-02T23:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Use Input Selection to Create a Layer (Python Toolbox)</title>
      <link>https://community.esri.com/t5/python-questions/use-input-selection-to-create-a-layer-python/m-p/1681744#M75091</link>
      <description>&lt;P&gt;You could use the Make Feature Layer tool:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.4/tool-reference/data-management/make-feature-layer.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/3.4/tool-reference/data-management/make-feature-layer.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The inputs would be your input feature layer.&lt;/P&gt;&lt;P&gt;If you want a persistent layer file, use the Save to Layer File tool:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/save-to-layer-file.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/save-to-layer-file.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 14:19:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/use-input-selection-to-create-a-layer-python/m-p/1681744#M75091</guid>
      <dc:creator>BobBooth1</dc:creator>
      <dc:date>2026-02-03T14:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Use Input Selection to Create a Layer (Python Toolbox)</title>
      <link>https://community.esri.com/t5/python-questions/use-input-selection-to-create-a-layer-python/m-p/1683096#M75100</link>
      <description>&lt;P&gt;Thank you. After getting different search engine suggestions, this ended up working out&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# Copy selected records into memory
temp_selection = arcpy.management.CopyFeatures(in_features,"temp_selected_layer")[0]

# Add to the map
aprx.activeMap.addLayer(arcpy.management.MakeFeatureLayer(temp_selection, "Parcel of Interest")[0])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 17:20:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/use-input-selection-to-create-a-layer-python/m-p/1683096#M75100</guid>
      <dc:creator>BrandonPrice1</dc:creator>
      <dc:date>2026-02-09T17:20:58Z</dc:date>
    </item>
  </channel>
</rss>

