<?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 Add-In: Date Parameter? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/add-in-date-parameter/m-p/665672#M51690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, I am a ArcObjects/COM developer (C#/VB/.NET) struggling to accept the restrictions that are being placed on my new role as a Python Add-In developer!!!&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can probably guess at this point, my frustration resides with the limited GUI capabilities that are offered for creating new and functional tools for ArcGIS 10.1 --- don't get me wrong, I've managed to build some really functional geoprocessing tools for ArcToolbox and will continue to do that.&amp;nbsp; But I am struggling to incorporate the mapping environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway --- to my question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I acquire two date parameters from the user via a Python Add-In?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not see any datetime pickers available.&amp;nbsp; No textbox controls that I could arm-twist into date values.&amp;nbsp; There's a ComboBox control, but useless for my need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was also under the impression that at ArcGIS 10.0 I could use VisualStudio Express to build an Add-In (not a Python Add-In), which would provide access to those GUI components I want!&amp;nbsp; Is this a viable option (I know it wouldn't be Python-based)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for listening and thanks for any input!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;J&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Apr 2013 12:33:28 GMT</pubDate>
    <dc:creator>JamesCrandall</dc:creator>
    <dc:date>2013-04-12T12:33:28Z</dc:date>
    <item>
      <title>Add-In: Date Parameter?</title>
      <link>https://community.esri.com/t5/python-questions/add-in-date-parameter/m-p/665672#M51690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, I am a ArcObjects/COM developer (C#/VB/.NET) struggling to accept the restrictions that are being placed on my new role as a Python Add-In developer!!!&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can probably guess at this point, my frustration resides with the limited GUI capabilities that are offered for creating new and functional tools for ArcGIS 10.1 --- don't get me wrong, I've managed to build some really functional geoprocessing tools for ArcToolbox and will continue to do that.&amp;nbsp; But I am struggling to incorporate the mapping environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway --- to my question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I acquire two date parameters from the user via a Python Add-In?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not see any datetime pickers available.&amp;nbsp; No textbox controls that I could arm-twist into date values.&amp;nbsp; There's a ComboBox control, but useless for my need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was also under the impression that at ArcGIS 10.0 I could use VisualStudio Express to build an Add-In (not a Python Add-In), which would provide access to those GUI components I want!&amp;nbsp; Is this a viable option (I know it wouldn't be Python-based)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for listening and thanks for any input!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;J&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 12:33:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-in-date-parameter/m-p/665672#M51690</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2013-04-12T12:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Add-In: Date Parameter?</title>
      <link>https://community.esri.com/t5/python-questions/add-in-date-parameter/m-p/665673#M51691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see that we can arm-twist things with GPToolDialog(toolbox, tool_name) maybe.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/The_pythonaddins_module/014p00000021000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/The_pythonaddins_module/014p00000021000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;j&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 13:00:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-in-date-parameter/m-p/665673#M51691</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2013-04-12T13:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Add-In: Date Parameter?</title>
      <link>https://community.esri.com/t5/python-questions/add-in-date-parameter/m-p/665674#M51692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, one option would be to author a model or script tool that has 2 data-time parameters and based on use input executes some logic. Then from a button in your add-in you could launch that tool. GP Tools have 100's of parameter types that allow you to build a UI for accepting user input and built-in and customize-able validation that can be run before the tool is actually executed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another option would be to build a .Net add-in. The .Net framework offers a rich environment for building windows forms that can accept user input and execute code. If you would prefer to author your form in .Net you could still have you business logic in a python script tool and call the tool from .Net passing in any required parameters.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 20:23:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-in-date-parameter/m-p/665674#M51692</guid>
      <dc:creator>ChrisFox3</dc:creator>
      <dc:date>2013-04-12T20:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add-In: Date Parameter?</title>
      <link>https://community.esri.com/t5/python-questions/add-in-date-parameter/m-p/665675#M51693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, one option would be to author a model or script tool that has 2 data-time parameters and based on use input executes some logic. Then from a button in your add-in you could launch that tool. GP Tools have 100's of parameter types that allow you to build a UI for accepting user input and built-in and customize-able validation that can be run before the tool is actually executed.&lt;BR /&gt;&lt;BR /&gt;Another option would be to build a .Net add-in. The .Net framework offers a rich environment for building windows forms that can accept user input and execute code. If you would prefer to author your form in .Net you could still have you business logic in a python script tool and call the tool from .Net passing in any required parameters.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Chris --- yes, I have done just what you describe with launching Toolbox I created with GPToolDialog.&amp;nbsp; It seems a bit disconnected, but it works.&amp;nbsp; I had hoped to have a few more UI control elements available via the Python Add-In, but like you say I can implement a .NET add-in to accomplish this.&amp;nbsp; This is my area of familiarity (but with creating COM components) -- should be a nice change from having to build Setup.exe/.msi and dealing with installer issues!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 10:07:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-in-date-parameter/m-p/665675#M51693</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2013-04-15T10:07:16Z</dc:date>
    </item>
  </channel>
</rss>

