<?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 ArcMap Add-in (How to View the Code Behind it?) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcmap-add-in-how-to-view-the-code-behind-it/m-p/118412#M9318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I downloaded some Add-ins which are great but I want to make modifications and add them to some tools that I am working on. Is there a way to look at the raw code behind an Add-in? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say I wanted to look at the Selection Sample Example.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-01-02.jpg" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/46450_2015-01-02.jpg" style="width: 620px; height: 493px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we do that? (see the code that was written).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When it comes to scripts for ArcToolBox that are written with python, I can easily see the code by simply right clicking on the script and viewing the code but have no idea how to do it with an Add-in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Any HELP would be greatly appreciated.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Jan 2015 03:15:54 GMT</pubDate>
    <dc:creator>ShawnPaulson</dc:creator>
    <dc:date>2015-01-03T03:15:54Z</dc:date>
    <item>
      <title>ArcMap Add-in (How to View the Code Behind it?)</title>
      <link>https://community.esri.com/t5/python-questions/arcmap-add-in-how-to-view-the-code-behind-it/m-p/118412#M9318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I downloaded some Add-ins which are great but I want to make modifications and add them to some tools that I am working on. Is there a way to look at the raw code behind an Add-in? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say I wanted to look at the Selection Sample Example.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-01-02.jpg" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/46450_2015-01-02.jpg" style="width: 620px; height: 493px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we do that? (see the code that was written).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When it comes to scripts for ArcToolBox that are written with python, I can easily see the code by simply right clicking on the script and viewing the code but have no idea how to do it with an Add-in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Any HELP would be greatly appreciated.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2015 03:15:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcmap-add-in-how-to-view-the-code-behind-it/m-p/118412#M9318</guid>
      <dc:creator>ShawnPaulson</dc:creator>
      <dc:date>2015-01-03T03:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: ArcMap Add-in (How to View the Code Behind it?)</title>
      <link>https://community.esri.com/t5/python-questions/arcmap-add-in-how-to-view-the-code-behind-it/m-p/118413#M9319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An Add-in is basically a ZIP file with a certain folder structure. You can change the extension to .zip and open it. Just look at the content in the Install folder. In case it is written in .NET you will see the dll files. They are compiled and cannot be easily accessed. In case of a Python toolbox you will probably see a toolbox and 1 or more python files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are however loads of sample in C# (and VB.NET) available. This is one with a custom selection:&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//0001000003w2000000" title="http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//0001000003w2000000"&gt;ArcObjects Help for .NET developers&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2015 17:41:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcmap-add-in-how-to-view-the-code-behind-it/m-p/118413#M9319</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2015-01-03T17:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: ArcMap Add-in (How to View the Code Behind it?)</title>
      <link>https://community.esri.com/t5/python-questions/arcmap-add-in-how-to-view-the-code-behind-it/m-p/118414#M9320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If one or more of the Add-Ins you downloaded happen to be built with the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//014p00000025000000"&gt;Python Add-In Wizard&lt;/A&gt;‌ instead of as&amp;nbsp; .NET Add-In for Desktop...then it is quite easy to see the python code behind it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌ mentions, change the file extension or use &lt;A href="http://www.7-zip.org/"&gt;7zip&lt;/A&gt; to open the .esriaddin file as an archive or extract it.&amp;nbsp; The source .py file(s) will be located in the "Install" folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add-Ins you have already installed can be found here:&amp;nbsp; &lt;EM&gt;C:\Users\&amp;lt;username&amp;gt;\Documents\ArcGIS\AddIns&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 16:13:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcmap-add-in-how-to-view-the-code-behind-it/m-p/118414#M9320</guid>
      <dc:creator>AdamMarinelli</dc:creator>
      <dc:date>2015-01-07T16:13:18Z</dc:date>
    </item>
  </channel>
</rss>

