<?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: Python Addin &amp; Modelbuilder in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-addin-modelbuilder/m-p/61341#M4899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Mar 2017 16:17:15 GMT</pubDate>
    <dc:creator>ChrisHolmes</dc:creator>
    <dc:date>2017-03-06T16:17:15Z</dc:date>
    <item>
      <title>Python Addin &amp; Modelbuilder</title>
      <link>https://community.esri.com/t5/python-questions/python-addin-modelbuilder/m-p/61340#M4898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a simple python addin which works in ArcMap. The addin has 4 buttons, two that execute script tools, two that execute models. The toolbox that the models &amp;amp; script tools are located in is stored in a&amp;nbsp;network folder.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/319303_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;The buttons use pythonaddins.GPToolDialog() to execute a model/script tool stored on the network.&lt;/P&gt;&lt;P&gt;This simple diagram shows the layout:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/322896_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;1. When a button is clicked on the addin on the local PC, where does the model or script execute?&lt;/P&gt;&lt;P&gt;2. Are there any risks if multiple PC's are accessing the toolbox on the network drive at the same time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 21:47:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-addin-modelbuilder/m-p/61340#M4898</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2017-02-15T21:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Python Addin &amp; Modelbuilder</title>
      <link>https://community.esri.com/t5/python-questions/python-addin-modelbuilder/m-p/61341#M4899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 16:17:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-addin-modelbuilder/m-p/61341#M4899</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2017-03-06T16:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Python Addin &amp; Modelbuilder</title>
      <link>https://community.esri.com/t5/python-questions/python-addin-modelbuilder/m-p/61342#M4900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you installing on each machine by double clicking the .addin ? If so, it actually installs locally in the users AppData I believe. &amp;nbsp;My guess is if you are getting the toolbox, something has to be installed locally. But I can't answer your question for sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typically I do all my development on a network drive, use the toolbox for testing locally, but when ready to use the addin, I install that locally with the .addin. &amp;nbsp;I include all the scripts, toolboxes, connection files in relative pathe&amp;nbsp;within the python development structure, so the addin can find everything. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are running the tools and working on the same shared data, normal locks would still apply, but I would think that using the same tool, if working with local data, should be ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I'm just guessing. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Tagging a few other groups &amp;nbsp;&lt;A href="https://community.esri.com/community/gis/analysis/geoprocessing?sr=search&amp;amp;searchId=332a13c8-78a7-4697-adb0-60cd79dcf98b&amp;amp;searchIndex=0"&gt;https://community.esri.com/community/gis/analysis/geoprocessing?sr=search&amp;amp;searchId=332a13c8-78a7-4697-adb0-60cd79dcf98b&amp;amp;searchIndex=0&lt;/A&gt;‌ &lt;A href="https://community.esri.com/groups/python-addins?sr=search&amp;amp;searchId=56e3b0a3-fa41-43a3-8f46-35ad30049299&amp;amp;searchIndex=0"&gt;https://community.esri.com/groups/python-addins?sr=search&amp;amp;searchId=56e3b0a3-fa41-43a3-8f46-35ad30049299&amp;amp;searchIndex=0&lt;/A&gt;‌ fir more exposure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 18:37:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-addin-modelbuilder/m-p/61342#M4900</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-03-06T18:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Python Addin &amp; Modelbuilder</title>
      <link>https://community.esri.com/t5/python-questions/python-addin-modelbuilder/m-p/61343#M4901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The addin is installed on each machine by double clicking the .esriaddin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The buttons on the addin just link to models and script tools stored in the .tbx files which are on the network.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying Rebecca.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 19:21:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-addin-modelbuilder/m-p/61343#M4901</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2017-03-06T19:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Python Addin &amp; Modelbuilder</title>
      <link>https://community.esri.com/t5/python-questions/python-addin-modelbuilder/m-p/61344#M4902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The tools run on the executing machine. However, the input and output come from the data source defined in the Python script (for script tool) or in ModelBuilder paths. If the path is set to one of the remote machines then data will come from or go to that particular machine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 21:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-addin-modelbuilder/m-p/61344#M4902</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2017-07-10T21:22:26Z</dc:date>
    </item>
  </channel>
</rss>

