<?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: How to add .lyr from user specific folder in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-add-lyr-from-user-specific-folder/m-p/197335#M15126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not what I am looking for. Sorry &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;The user needs to be able to choose the desired layer files to the script. The script afterwards exports to PDF with a legend etc and therefor not something I wan't to do in model builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing all pre-work in modelbuilder. Modelbuilder does all clipping etc, but the user should afterwards decide which layer files he/she is going to use in the final export (PDF). I hope it makes better sense? &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Dec 2015 08:55:30 GMT</pubDate>
    <dc:creator>LasseAndresen</dc:creator>
    <dc:date>2015-12-01T08:55:30Z</dc:date>
    <item>
      <title>How to add .lyr from user specific folder</title>
      <link>https://community.esri.com/t5/python-questions/how-to-add-lyr-from-user-specific-folder/m-p/197333#M15124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I have made a script, that adds .lyr files from a folder to an .mxd and it works like a charm, however, I'd like to update the script, so a user can specify which .lyr files to add to the .mxd&lt;/P&gt;&lt;P&gt;The tool adds the specified .lyr into a Legend, so if the updated script can do the same, but with .lyr added by the user and not pre-defined location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script is going to run in modelbuilder as the last task&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 12:46:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-add-lyr-from-user-specific-folder/m-p/197333#M15124</guid>
      <dc:creator>LasseAndresen</dc:creator>
      <dc:date>2015-11-30T12:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to add .lyr from user specific folder</title>
      <link>https://community.esri.com/t5/python-questions/how-to-add-lyr-from-user-specific-folder/m-p/197334#M15125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use model builder to let the user pick the desired workspace.&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/modelbuilder/exposing-tool-parameters-as-variables.htm" title="http://desktop.arcgis.com/en/desktop/latest/analyze/modelbuilder/exposing-tool-parameters-as-variables.htm"&gt;Exposing tool parameters as variables—Help | ArcGIS for Desktop&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 14:27:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-add-lyr-from-user-specific-folder/m-p/197334#M15125</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2015-11-30T14:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to add .lyr from user specific folder</title>
      <link>https://community.esri.com/t5/python-questions/how-to-add-lyr-from-user-specific-folder/m-p/197335#M15126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not what I am looking for. Sorry &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;The user needs to be able to choose the desired layer files to the script. The script afterwards exports to PDF with a legend etc and therefor not something I wan't to do in model builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing all pre-work in modelbuilder. Modelbuilder does all clipping etc, but the user should afterwards decide which layer files he/she is going to use in the final export (PDF). I hope it makes better sense? &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 08:55:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-add-lyr-from-user-specific-folder/m-p/197335#M15126</guid>
      <dc:creator>LasseAndresen</dc:creator>
      <dc:date>2015-12-01T08:55:30Z</dc:date>
    </item>
  </channel>
</rss>

