<?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 add-in, GPToolDialog and Feature Set in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-add-in-gptooldialog-and-feature-set/m-p/8046#M677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you found a solution yet? I just started a new thread about this to see if anyone else has. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/111064-Python-Add-In-GPToolDialog-modal-dialog-box"&gt;http://forums.arcgis.com/threads/111064-Python-Add-In-GPToolDialog-modal-dialog-box&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 May 2014 17:38:13 GMT</pubDate>
    <dc:creator>EdFarrell</dc:creator>
    <dc:date>2014-05-28T17:38:13Z</dc:date>
    <item>
      <title>Python add-in, GPToolDialog and Feature Set</title>
      <link>https://community.esri.com/t5/python-questions/python-add-in-gptooldialog-and-feature-set/m-p/8043#M674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a script tool that has a feature set (interactive user input, e.g. draw a freehand polygon) as one of its parameters and works OK when run from ArcToolBox.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I plan to share this tool conveniently as a python add-in, so I tried invoking this GP tool using pythonaddins.GPToolDialog on an add-in button, but it seems that didn't work because, while the tool dialog appears on click, the dialog is modal in nature which prevents me from switching to the map frame to draw? Is this a limitation of pythonaddins.GPToolDialog?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JJ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 06:54:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-in-gptooldialog-and-feature-set/m-p/8043#M674</guid>
      <dc:creator>janssencanicula</dc:creator>
      <dc:date>2014-04-15T06:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Python add-in, GPToolDialog and Feature Set</title>
      <link>https://community.esri.com/t5/python-questions/python-add-in-gptooldialog-and-feature-set/m-p/8044#M675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your right, my Python tool dialog will not let me have access to the map while it is open and launched from an add-in button tool. If the new polygon is used as input into your tool, you could program your tool to get the selected feature using a SearchCursor. If you provide more detail on your tool and workflow, I have some example code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 13:53:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-in-gptooldialog-and-feature-set/m-p/8044#M675</guid>
      <dc:creator>EdFarrell</dc:creator>
      <dc:date>2014-04-15T13:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Python add-in, GPToolDialog and Feature Set</title>
      <link>https://community.esri.com/t5/python-questions/python-add-in-gptooldialog-and-feature-set/m-p/8045#M676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Eddie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply, I am not really sure what you mean though with using the SearchCursor, unless you assume that the polygon is pre-existing as a feature class/shapefile that you browse to, which I could still do in a &lt;/SPAN&gt;&lt;STRONG&gt;feature set parameter type&lt;/STRONG&gt;&lt;SPAN&gt;(folder icon to the right). The polygon in my use case has to be created first and you can't do that when you can't access the map frame/ draw tool because of the dialog being modal. The polygon is not pre-known, so it has to be interactive. Thanks for confirming the limitation though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JJ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 06:05:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-in-gptooldialog-and-feature-set/m-p/8045#M676</guid>
      <dc:creator>janssencanicula</dc:creator>
      <dc:date>2014-04-22T06:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Python add-in, GPToolDialog and Feature Set</title>
      <link>https://community.esri.com/t5/python-questions/python-add-in-gptooldialog-and-feature-set/m-p/8046#M677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you found a solution yet? I just started a new thread about this to see if anyone else has. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/111064-Python-Add-In-GPToolDialog-modal-dialog-box"&gt;http://forums.arcgis.com/threads/111064-Python-Add-In-GPToolDialog-modal-dialog-box&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 17:38:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-in-gptooldialog-and-feature-set/m-p/8046#M677</guid>
      <dc:creator>EdFarrell</dc:creator>
      <dc:date>2014-05-28T17:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Python add-in, GPToolDialog and Feature Set</title>
      <link>https://community.esri.com/t5/python-questions/python-add-in-gptooldialog-and-feature-set/m-p/8047#M678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Fixed in 10.2.2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 18:19:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-in-gptooldialog-and-feature-set/m-p/8047#M678</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2014-05-28T18:19:53Z</dc:date>
    </item>
  </channel>
</rss>

