<?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: Can you combine multiple layers in a .lyrx through python? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/can-you-combine-multiple-layers-in-a-lyrx-through/m-p/213375#M16434</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cyrus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you will need to create a Group Layer ahead of time. You can add the layers to the Group, then create the layer file from the Group.&amp;nbsp; However, from what I could find there is no way to create a Group Layer via python.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2018 19:17:58 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2018-07-06T19:17:58Z</dc:date>
    <item>
      <title>Can you combine multiple layers in a .lyrx through python?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-combine-multiple-layers-in-a-lyrx-through/m-p/213374#M16433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know this is possible through the Pro UX, but i'm trying to write it in python. From what I see in &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/save-to-layer-file.htm"&gt;the geoprocessing help&lt;/A&gt;, the tool only accepts one input&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 18:35:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-combine-multiple-layers-in-a-lyrx-through/m-p/213374#M16433</guid>
      <dc:creator>CyrusBlankinship1</dc:creator>
      <dc:date>2018-07-06T18:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can you combine multiple layers in a .lyrx through python?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-combine-multiple-layers-in-a-lyrx-through/m-p/213375#M16434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cyrus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you will need to create a Group Layer ahead of time. You can add the layers to the Group, then create the layer file from the Group.&amp;nbsp; However, from what I could find there is no way to create a Group Layer via python.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 19:17:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-combine-multiple-layers-in-a-lyrx-through/m-p/213375#M16434</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2018-07-06T19:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can you combine multiple layers in a .lyrx through python?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-combine-multiple-layers-in-a-lyrx-through/m-p/213376#M16435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting that you can add a layer to a group but not create one....&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.5/analyze/arcpy-mapping/addlayertogroup.htm" title="http://desktop.arcgis.com/en/arcmap/10.5/analyze/arcpy-mapping/addlayertogroup.htm"&gt;AddLayerToGroup—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 19:23:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-combine-multiple-layers-in-a-lyrx-through/m-p/213376#M16435</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-07-06T19:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can you combine multiple layers in a .lyrx through python?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-combine-multiple-layers-in-a-lyrx-through/m-p/213377#M16436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya, unfortunately that doesn't help. I need to sort through a list of ~1000 buildings, create a group for each combining 5 layers, and export the group to a .lyrx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Odd&amp;nbsp;that the functionality is included through manually selecting the layers--&amp;gt;right clicking--&amp;gt;share as layer file but NOT through arcpy.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 19:32:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-combine-multiple-layers-in-a-lyrx-through/m-p/213377#M16436</guid>
      <dc:creator>CyrusBlankinship1</dc:creator>
      <dc:date>2018-07-06T19:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can you combine multiple layers in a .lyrx through python?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-combine-multiple-layers-in-a-lyrx-through/m-p/213378#M16437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can just create one empty group layer file and use it as a template, i.e., add 5 layers to the empty group layer and save it, rinse, repeat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 20:47:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-combine-multiple-layers-in-a-lyrx-through/m-p/213378#M16437</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-07-06T20:47:36Z</dc:date>
    </item>
  </channel>
</rss>

