<?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-Ins for Pro - without use of Visual Studio? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-add-ins-for-pro-without-use-of-visual/m-p/170184#M13095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Curtis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; I have developed a toolbar with 11 tools using ArcGIS 10.3.&amp;nbsp; All of them are currently written in python.&amp;nbsp; Initially one of the tools was written in C# making an all python toolbar not doable.&amp;nbsp; I rewrote that tool in python and now it is much easier to maintain.&amp;nbsp; Now that the add-in created toolbar does not involve visual studio it is faster to produce new updated toolbars and does not require two programmers (one whom owns Visual Studio).&amp;nbsp; Since python is the tool for users it only makes sense to be able to create an add-in with only the software delivered with ArcGIS and not having to deal with Visual Studio which in itself is harder to learn than a programming language.&amp;nbsp; I find this decision of ESRI's frustrating.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look into your potential alternative solutions but the existing toolbar is documented in many pages of documentation which means that I will probably have to purchase visual studio should the company I'm contracting for jump to ArcGIS Pro.&amp;nbsp; Admittedly Visual Studio and .NET are very powerful but I played around trying to create a universal app and wow - complex to stumble through on your own!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked out&amp;nbsp;one of my&amp;nbsp;toolbox python scripts with pro and converting&amp;nbsp;it from 2.x to 3.x will be a snap (just tabs and spaces mixed and \ instead of \\ on pathnames).&amp;nbsp; On one of the tools I have a graphics timer and I was surprised that it ran but never showed the progress bar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully ESRI will have a change of heart and support creating an add-in using python.&amp;nbsp; I like being able to have all of my tools in a standard toolbox and password protecting certain parts of the code (keeping those parts small for performance).&amp;nbsp; Once the toolbox has been modified I simply drop it in the area to create the add-in toolbar - so easy and quick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Mar 2017 04:04:21 GMT</pubDate>
    <dc:creator>DanielGreene</dc:creator>
    <dc:date>2017-03-28T04:04:21Z</dc:date>
    <item>
      <title>Python Add-Ins for Pro - without use of Visual Studio?</title>
      <link>https://community.esri.com/t5/python-questions/python-add-ins-for-pro-without-use-of-visual/m-p/170182#M13093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like being able to create a toolbox and then turning that into a toolbar via a PYTHON add-in without having to have Visual Studio on my PC.&amp;nbsp; I hope this capability will be available with ArcGIS Pro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 13:58:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-ins-for-pro-without-use-of-visual/m-p/170182#M13093</guid>
      <dc:creator>DanielGreene</dc:creator>
      <dc:date>2017-03-27T13:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Concern - With ArcGis 10.x the ability to create an ADD-IN without using Visual Studio is very useful since you can create a polished toolbar soley using ArcGis.  I am concerned that so far this capability does not exist with ArcGis PRO.  Are there pl</title>
      <link>https://community.esri.com/t5/python-questions/python-add-ins-for-pro-without-use-of-visual/m-p/170183#M13094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I asked about this at what I think was one of the first Holistic Testing sessions on Pro in the fall of 2015. There are no plans to do this, the main reason I was told at the time is that Pro is that this functionality doesn't "fit" as well - &amp;nbsp;Pro is built within the WPF environment and add-in development really needs to happen in that environment. This means it needs to be done in .NET. Maybe things have changed, but I doubt it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Pro it's a lot easier to dock tools into the ribbon, this may get you the functionality you need:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/basics/save-geoprocessing-tools-in-your-project.htm" title="http://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/basics/save-geoprocessing-tools-in-your-project.htm"&gt;Save a custom set of geoprocessing tools—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach that doesn't require .NET is to use&amp;nbsp;the ArcGIS Pro Task Assistant. Many user-developed VBA and ArcObjects applications I have seen over the years would lend themselves to being built in Task Assistant, guiding the user through a set of workflow steps to accomplish a task. &amp;nbsp;I suggesting taking a closer look at Task Assistant if you haven't tried it yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 00:33:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-ins-for-pro-without-use-of-visual/m-p/170183#M13094</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-03-28T00:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Python Add-Ins for Pro - without use of Visual Studio?</title>
      <link>https://community.esri.com/t5/python-questions/python-add-ins-for-pro-without-use-of-visual/m-p/170184#M13095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Curtis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; I have developed a toolbar with 11 tools using ArcGIS 10.3.&amp;nbsp; All of them are currently written in python.&amp;nbsp; Initially one of the tools was written in C# making an all python toolbar not doable.&amp;nbsp; I rewrote that tool in python and now it is much easier to maintain.&amp;nbsp; Now that the add-in created toolbar does not involve visual studio it is faster to produce new updated toolbars and does not require two programmers (one whom owns Visual Studio).&amp;nbsp; Since python is the tool for users it only makes sense to be able to create an add-in with only the software delivered with ArcGIS and not having to deal with Visual Studio which in itself is harder to learn than a programming language.&amp;nbsp; I find this decision of ESRI's frustrating.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look into your potential alternative solutions but the existing toolbar is documented in many pages of documentation which means that I will probably have to purchase visual studio should the company I'm contracting for jump to ArcGIS Pro.&amp;nbsp; Admittedly Visual Studio and .NET are very powerful but I played around trying to create a universal app and wow - complex to stumble through on your own!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked out&amp;nbsp;one of my&amp;nbsp;toolbox python scripts with pro and converting&amp;nbsp;it from 2.x to 3.x will be a snap (just tabs and spaces mixed and \ instead of \\ on pathnames).&amp;nbsp; On one of the tools I have a graphics timer and I was surprised that it ran but never showed the progress bar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully ESRI will have a change of heart and support creating an add-in using python.&amp;nbsp; I like being able to have all of my tools in a standard toolbox and password protecting certain parts of the code (keeping those parts small for performance).&amp;nbsp; Once the toolbox has been modified I simply drop it in the area to create the add-in toolbar - so easy and quick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 04:04:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-ins-for-pro-without-use-of-visual/m-p/170184#M13095</guid>
      <dc:creator>DanielGreene</dc:creator>
      <dc:date>2017-03-28T04:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Python Add-Ins for Pro - without use of Visual Studio?</title>
      <link>https://community.esri.com/t5/python-questions/python-add-ins-for-pro-without-use-of-visual/m-p/170185#M13096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;You are welcome, glad you found this info helpful.&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;it ran but never showed the progress bar.&amp;nbsp;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is one reason this is not an easy port... in Pro (and this is supported in the Windows WPF programming model) everything is multi-threaded, so, in a way everything runs in what we think of as "the background" in ArcMap. I find it confusing still in Pro when I run a tool and there is not a lot of feedback that anything is happening. You still should be able to show a progressor, since it is supported:&amp;nbsp;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/functions/setprogressor.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/functions/setprogressor.htm"&gt;SetProgressor—ArcPy Functions | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 04:58:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-ins-for-pro-without-use-of-visual/m-p/170185#M13096</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-03-28T04:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Python Add-Ins for Pro - without use of Visual Studio?</title>
      <link>https://community.esri.com/t5/python-questions/python-add-ins-for-pro-without-use-of-visual/m-p/170186#M13097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Curtis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not an easy port but I'm guessing that the person who set up the original python add-in could do it.&amp;nbsp; The rationale for the decision should be based on users needs and not having support for a python toolbar is a big plus for ArcGIS desktop and a negative for Pro.&amp;nbsp; I would think that once PRO is well debugged that a python ADD-IN could come along so that may be what ESRI is waiting on.&amp;nbsp; It only makes sense to me because the existing one for 10.x is so beautifully done and works so well.&amp;nbsp; If it has not been used that much it may be that there needs to be more documentation/examples on the part that requires a little python code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In summary, I guess this is a good deal for C# and Visual Studio programmers&amp;nbsp;but a negative for ArcGIS software only capabilities.&amp;nbsp; On the plus side I'm very glad that the use of a python toolbox stays intact with PRO.&amp;nbsp; The best alternative may be to drop the ADD-IN and just teach using the toolbox.&amp;nbsp; I don't know at this point and will need to experiment with the other suggestions but I would really like to avoid use of VS.&amp;nbsp; I guess it could be worth setting up a VS project to only do a toolbar and nothing else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have one tool on the ADD-IN&amp;nbsp;that&amp;nbsp;I originally wrote&amp;nbsp;using Oracle Pro Fortran, then in Microsoft Basic (before .NET), then ported to C#&amp;nbsp;via a contract, then&amp;nbsp;ported again&amp;nbsp;by another contract due to a major system change.&amp;nbsp; It was getting very messy at that point - difficult and expensive to maintain.&amp;nbsp; I completely re-wrote the program in python and that is definitely the easiest code to work with and maintain.&amp;nbsp; I will say that VS is great for forms for those with VS training&amp;nbsp;but for most of our tools the Toolbox generic form with parameters works great.&amp;nbsp; And of course the ADD-IN toolbar simply fancies that up a bit making the tools a bit more friendly and easier to access but not any more functional than the toolbox.&amp;nbsp; The toolbox also allows protection of small critical pieces of the code.&amp;nbsp; I have found that password protecting very large programs in a toolbox becomes way too slow but if you pick out the parts needing protection and import them as a separate callable tool that all works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are plenty of uses for Visual Studio other than creating an ADD-IN.&amp;nbsp; We have a PC/Field Data Recorder data entry program that could stand to be written as a Universal App using VS (Visual Studio)&amp;nbsp;at some point unless python forms becomes more portable across different platforms.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 14:17:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-ins-for-pro-without-use-of-visual/m-p/170186#M13097</guid>
      <dc:creator>DanielGreene</dc:creator>
      <dc:date>2017-03-28T14:17:51Z</dc:date>
    </item>
  </channel>
</rss>

