<?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 Need VBA code to close/ignore the ilogic form which triggers in the drawing in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/need-vba-code-to-close-ignore-the-ilogic-form-which-triggers-in/m-p/9924319#M118892</link>
    <description>&lt;P&gt;There is a ilogic form in my drawing and every time I run my VBA program in the drawing, the program stops and waits for the form to be closed manually. Need VBA code to close/ignore the ilogic form which triggers in the drawing while running my VBA program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammed Shuaib K&lt;/P&gt;</description>
    <pubDate>Tue, 08 Dec 2020 18:02:55 GMT</pubDate>
    <dc:creator>shuaib_cad</dc:creator>
    <dc:date>2020-12-08T18:02:55Z</dc:date>
    <item>
      <title>Need VBA code to close/ignore the ilogic form which triggers in the drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/need-vba-code-to-close-ignore-the-ilogic-form-which-triggers-in/m-p/9924319#M118892</link>
      <description>&lt;P&gt;There is a ilogic form in my drawing and every time I run my VBA program in the drawing, the program stops and waits for the form to be closed manually. Need VBA code to close/ignore the ilogic form which triggers in the drawing while running my VBA program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammed Shuaib K&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 18:02:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/need-vba-code-to-close-ignore-the-ilogic-form-which-triggers-in/m-p/9924319#M118892</guid>
      <dc:creator>shuaib_cad</dc:creator>
      <dc:date>2020-12-08T18:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need VBA code to close/ignore the ilogic form which triggers in the drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/need-vba-code-to-close-ignore-the-ilogic-form-which-triggers-in/m-p/9924606#M118897</link>
      <description>&lt;P&gt;So, your VBA code is not launching the iLogic form, right?&amp;nbsp; The form is most likely being launched due to an iLogic rule that has been set-up in the Event Triggers dialog.&amp;nbsp; Your VBA code must be causing an event that is triggering that rule to run, which launches the form.&amp;nbsp; You may need to either temporarily suppress that iLogic rule that is launching the form, or temporarily turn off all Event Triggers functionality, while you are running your VBA code.&amp;nbsp; This can be done by code if that sounds like a solution to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 19:33:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/need-vba-code-to-close-ignore-the-ilogic-form-which-triggers-in/m-p/9924606#M118897</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2020-12-08T19:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need VBA code to close/ignore the ilogic form which triggers in the drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/need-vba-code-to-close-ignore-the-ilogic-form-which-triggers-in/m-p/9924672#M118899</link>
      <description>&lt;P&gt;Write everything in VBA.&lt;/P&gt;
&lt;P&gt;Or start programming your own add in which makes this a lot easier to handle!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 19:58:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/need-vba-code-to-close-ignore-the-ilogic-form-which-triggers-in/m-p/9924672#M118899</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2020-12-08T19:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need VBA code to close/ignore the ilogic form which triggers in the drawing</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/need-vba-code-to-close-ignore-the-ilogic-form-which-triggers-in/m-p/9924701#M118903</link>
      <description>&lt;P&gt;you can try this:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Set iLogicVb = ThisApplication.ApplicationAddIns.ItemById("{3BDD8D79-2179-4B11-8A5A-257B1C0263AC}")
Set a = iLogicVb.Automation
a.RulesOnEventsEnabled = False


' your original code here


a.RulesOnEventsEnabled = True&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 08 Dec 2020 20:06:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/need-vba-code-to-close-ignore-the-ilogic-form-which-triggers-in/m-p/9924701#M118903</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2020-12-08T20:06:21Z</dc:date>
    </item>
  </channel>
</rss>

