<?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: Model Builder save output layer file in data source path in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500222#M27342</link>
    <description>&lt;P&gt;Thanks, but using the iterate workspace I can't use the tool save to layer file.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2024 09:33:13 GMT</pubDate>
    <dc:creator>FabioTuccini</dc:creator>
    <dc:date>2024-07-02T09:33:13Z</dc:date>
    <item>
      <title>Model Builder save output layer file in data source path</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500206#M27340</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to create a model builder to save the layer file (.lyrx) in the same path of the data source.&lt;/P&gt;&lt;P&gt;Using the parse path the output path is the project folder and not the data source folder path.&lt;/P&gt;&lt;P&gt;here below an image of the model builder.&lt;/P&gt;&lt;P&gt;Someone can help please.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-07-02 101719.jpg" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108525i66164058621533CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-07-02 101719.jpg" alt="Screenshot 2024-07-02 101719.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 08:18:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500206#M27340</guid>
      <dc:creator>FabioTuccini</dc:creator>
      <dc:date>2024-07-02T08:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder save output layer file in data source path</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500218#M27341</link>
      <description>&lt;P&gt;The iterate layers tool will return that path as that;s where the layer lives.&lt;BR /&gt;&lt;BR /&gt;If you want the actual data source then look at making a workspace (the folder containing your data) your input variable (rather than a map) and iterating datasets then parsing that path.&lt;BR /&gt;&lt;BR /&gt;Alternatively have a look at python and listLayers, which will give you much more flexibility and the ability to interrogate all the layer properties, including data source.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 09:19:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500218#M27341</guid>
      <dc:creator>RichardHowe</dc:creator>
      <dc:date>2024-07-02T09:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder save output layer file in data source path</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500222#M27342</link>
      <description>&lt;P&gt;Thanks, but using the iterate workspace I can't use the tool save to layer file.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 09:33:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500222#M27342</guid>
      <dc:creator>FabioTuccini</dc:creator>
      <dc:date>2024-07-02T09:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder save output layer file in data source path</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500223#M27343</link>
      <description>&lt;P&gt;Ah yeah, that;s fair. I would definitely look into python then. I realise it can be daunting at first, but honestly once you get going and you see the possibilities, you'll never look back at model builder.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 09:58:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500223#M27343</guid>
      <dc:creator>RichardHowe</dc:creator>
      <dc:date>2024-07-02T09:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder save output layer file in data source path</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500227#M27344</link>
      <description>&lt;P&gt;Ok. i'll try in python. I never used before, any suggestion that can guide me to solve my problem?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 10:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500227#M27344</guid>
      <dc:creator>FabioTuccini</dc:creator>
      <dc:date>2024-07-02T10:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder save output layer file in data source path</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500231#M27345</link>
      <description>&lt;P&gt;I would start here, there's a useful walk through and some code snippets which should familiarise you with what you want to do&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/esri-training-blog/five-python-code-snippets-for-arcgis-pro-mapping/ba-p/900887" target="_self"&gt;Five python code snippets for arcgis pro&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also, the help page for every geoprocessing tool that you might ever have wanted to drag into model builder incldues a python snippet and example to show how to use it.&lt;BR /&gt;&lt;BR /&gt;In broad terms then your python process will effectively be a case of listing the layers in your map, creating a for loop and saving to a layer file for each.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 10:26:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500231#M27345</guid>
      <dc:creator>RichardHowe</dc:creator>
      <dc:date>2024-07-02T10:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Model Builder save output layer file in data source path</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500640#M27346</link>
      <description>&lt;P&gt;More resources for learning Python in ArcGIS Pro can be found here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.arcgis.com/en/paths/learn-python-in-arcgis-pro/" target="_blank"&gt;https://learn.arcgis.com/en/paths/learn-python-in-arcgis-pro/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 22:25:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/model-builder-save-output-layer-file-in-data/m-p/1500640#M27346</guid>
      <dc:creator>BobBooth1</dc:creator>
      <dc:date>2024-07-02T22:25:07Z</dc:date>
    </item>
  </channel>
</rss>

