<?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: VB.Net &amp;amp; Interaction Events not working in 2018 in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/vb-net-amp-interaction-events-not-working-in-2018/m-p/7984084#M84022</link>
    <description>&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;Embed is set to false. I've literally just managed to get it working again by adding an&lt;SPAN&gt;&amp;nbsp;InventorApplication.UserInterfaceManager.DoEvents() while loop just after the interaction event is triggered, and is stopped by the object selected event trigger.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've stepped through last years code and it runs fine without going into the DoEvents loop which seems totally bizarre (but then I'm fixing someone's code with no prior visual studio, .net or Inv API experience, I've not got a clue as to what should and shouldn't happen)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The setting for copy local for Autodesk.Inventor.Interop is also set to false in my solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks and Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Phil&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 May 2018 08:52:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-07T08:52:06Z</dc:date>
    <item>
      <title>VB.Net &amp; Interaction Events not working in 2018</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/vb-net-amp-interaction-events-not-working-in-2018/m-p/7983495#M84012</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I've ported some vb.net code over to 2018 and it has stopped firing the select event, did something change that I have missed or anyone else in the same boat?&lt;/P&gt;&lt;P&gt;It looks like it starts the event, I get RMB menu changes etc. but it's not able to make a selection. Gone through some trial and error trouble shooting disabling selection filtering, single selection etc. but now pretty stuck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Phil&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 00:54:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/vb-net-amp-interaction-events-not-working-in-2018/m-p/7983495#M84012</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-07T00:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: VB.Net &amp; Interaction Events not working in 2018</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/vb-net-amp-interaction-events-not-working-in-2018/m-p/7983766#M84016</link>
      <description>&lt;P&gt;I'm sure that Interaction events are still working for apps like Tube &amp;amp; Pipe, and Frame Generator would also be broken.&amp;nbsp; My guess is that you've created a new project and have forgotten to change the "Embed Interop Types" setting for the "Autodesk.Inventor.Interop", as shown below.&amp;nbsp; Make sure that's set to False and then try your program again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Embed.png" style="width: 399px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/497293iA44FE40189BD3149/image-size/large?v=v2&amp;amp;px=999" role="button" title="Embed.png" alt="Embed.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 05:31:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/vb-net-amp-interaction-events-not-working-in-2018/m-p/7983766#M84016</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2018-05-07T05:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: VB.Net &amp; Interaction Events not working in 2018</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/vb-net-amp-interaction-events-not-working-in-2018/m-p/7984084#M84022</link>
      <description>&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;Embed is set to false. I've literally just managed to get it working again by adding an&lt;SPAN&gt;&amp;nbsp;InventorApplication.UserInterfaceManager.DoEvents() while loop just after the interaction event is triggered, and is stopped by the object selected event trigger.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've stepped through last years code and it runs fine without going into the DoEvents loop which seems totally bizarre (but then I'm fixing someone's code with no prior visual studio, .net or Inv API experience, I've not got a clue as to what should and shouldn't happen)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The setting for copy local for Autodesk.Inventor.Interop is also set to false in my solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks and Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Phil&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 08:52:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/vb-net-amp-interaction-events-not-working-in-2018/m-p/7984084#M84022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-07T08:52:06Z</dc:date>
    </item>
  </channel>
</rss>

