<?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: Need to reload an addin for each file in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-to-reload-an-addin-for-each-file/m-p/3779906#M132366</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think with form.close the form is destroyed, so a form.show later won't work. Try from.hide instead form.close.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Feb 2013 20:08:58 GMT</pubDate>
    <dc:creator>Ralf_Krieg</dc:creator>
    <dc:date>2013-02-13T20:08:58Z</dc:date>
    <item>
      <title>Need to reload an addin for each file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-to-reload-an-addin-for-each-file/m-p/3779466#M132365</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an addin which displays a form, then when I clic a button operations are launched.&lt;/P&gt;&lt;P&gt;The form is no modal, so I display it, select objects, apply, selct objects, apply,... then close the form with another button (form.close).&lt;/P&gt;&lt;P&gt;All functions, but only on the first opend file : I open the file, use the addin, close the form. I open another file, the addin is always loaded, but when I clic on the icon to display the form nothing happens... I have to unload the addin and reload it.&lt;/P&gt;&lt;P&gt;Where is the problem ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2013 15:39:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-to-reload-an-addin-for-each-file/m-p/3779466#M132365</guid>
      <dc:creator>TONELLAL</dc:creator>
      <dc:date>2013-02-13T15:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need to reload an addin for each file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-to-reload-an-addin-for-each-file/m-p/3779906#M132366</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think with form.close the form is destroyed, so a form.show later won't work. Try from.hide instead form.close.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2013 20:08:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-to-reload-an-addin-for-each-file/m-p/3779906#M132366</guid>
      <dc:creator>Ralf_Krieg</dc:creator>
      <dc:date>2013-02-13T20:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need to reload an addin for each file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-to-reload-an-addin-for-each-file/m-p/3780392#M132367</link>
      <description>&lt;P&gt;&lt;FONT color="#000000" face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;I thought it was something like that...&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;The Onexecute event is only :&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Sub&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; oRibbonButton_NewButton_OnExecute(....)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;form.Show(&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Sub&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;BUT...&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;...the form is not delared in the sub. I moved the declaration in the sub, it seems to be right !&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2013 10:06:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-to-reload-an-addin-for-each-file/m-p/3780392#M132367</guid>
      <dc:creator>TONELLAL</dc:creator>
      <dc:date>2013-02-14T10:06:46Z</dc:date>
    </item>
  </channel>
</rss>

