<?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: How can an Add-In interact with another Add-In? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-can-an-add-in-interact-with-another-add-in/m-p/581784#M15711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, Jörg&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the follow C# code to get other addin buttons in my toolbar:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
using ESRI.ArcGIS.Desktop.AddIns;

// Enable the save button
SaveEditingButton saveButton = ddIn.FromID&amp;lt;SaveEditingButton&amp;gt;(ThisAddIn.IDs.RasterEditor_EditorMenu_Edition_SaveEditingButton);
saveButton.IsEnabled = true;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IDs of addins are deifned at the Config.esriaddinx file of your solution folder. I am not sure whether it works for extension too but I think it should be similar. I hope it helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 01:00:45 GMT</pubDate>
    <dc:creator>HaoliangYu</dc:creator>
    <dc:date>2021-12-12T01:00:45Z</dc:date>
    <item>
      <title>How can an Add-In interact with another Add-In?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-can-an-add-in-interact-with-another-add-in/m-p/581783#M15710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Last year I developed an Add-In which works together with an Extension. In the Add-In code i get the extension with these rows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Dim extensionID As New UIDClass()
extensionID.Value = "Id_of_Extension"
Dim pExtension As IExtension = pApplication.FindExtensionByCLSID(extensionID)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After these rows the Add-In calls methos from the Extension and this works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But now we are converting the extension to an Add-In and I need a similar solution to get the Add-In. I don't find code examples on the ESRI sites. Maybe I use the wrong search words &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a similar method to get an Add-In for working with it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jörg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 06:44:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-can-an-add-in-interact-with-another-add-in/m-p/581783#M15710</guid>
      <dc:creator>JörgPossin</dc:creator>
      <dc:date>2014-01-07T06:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can an Add-In interact with another Add-In?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-can-an-add-in-interact-with-another-add-in/m-p/581784#M15711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, Jörg&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the follow C# code to get other addin buttons in my toolbar:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
using ESRI.ArcGIS.Desktop.AddIns;

// Enable the save button
SaveEditingButton saveButton = ddIn.FromID&amp;lt;SaveEditingButton&amp;gt;(ThisAddIn.IDs.RasterEditor_EditorMenu_Edition_SaveEditingButton);
saveButton.IsEnabled = true;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IDs of addins are deifned at the Config.esriaddinx file of your solution folder. I am not sure whether it works for extension too but I think it should be similar. I hope it helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:00:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-can-an-add-in-interact-with-another-add-in/m-p/581784#M15711</guid>
      <dc:creator>HaoliangYu</dc:creator>
      <dc:date>2021-12-12T01:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can an Add-In interact with another Add-In?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-can-an-add-in-interact-with-another-add-in/m-p/581785#M15712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi Haoliang &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your answer. I will try it soon and I am optimistic that these code will help me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jörg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 08:27:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-can-an-add-in-interact-with-another-add-in/m-p/581785#M15712</guid>
      <dc:creator>JörgPossin</dc:creator>
      <dc:date>2014-01-23T08:27:55Z</dc:date>
    </item>
  </channel>
</rss>

