<?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: Bug: SilentOperation is most of the time not silient in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/bug-silentoperation-is-most-of-the-time-not-silient/m-p/9447164#M108088</link>
    <description>&lt;P&gt;Here is also the part file that i use for testing for any one who wants to see it. But i can not attached the refrenced dll in the forum. (If anyone from autodesk wants it for testing purpose then plz send me a personal message) There for the rules will not work at all.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Apr 2020 09:38:27 GMT</pubDate>
    <dc:creator>JelteDeJong</dc:creator>
    <dc:date>2020-04-16T09:38:27Z</dc:date>
    <item>
      <title>Bug: SilentOperation is most of the time not silient</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/bug-silentoperation-is-most-of-the-time-not-silient/m-p/9447124#M108087</link>
      <description>&lt;P&gt;I can produce this problem with a part that has the following 3 ilogic rules.&lt;/P&gt;&lt;P&gt;rule: [main]&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;iLogicAddin&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ApplicationAddIn&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;iLogicAutomation&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;iLogicAddin&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ApplicationAddIns&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ItemById&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"{3bdd8d79-2179-4b11-8a5a-257b1c0263ac}"&lt;/SPAN&gt;)
&lt;SPAN style="color: #800000;"&gt;iLogicAutomation&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;iLogicAddin&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Automation&lt;/SPAN&gt;

&lt;SPAN style="color: #800000;"&gt;iLogicAutomation&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RunRule&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"with-Imports"&lt;/SPAN&gt;) &lt;SPAN style="color: #808080;"&gt;' msgbox 1: Does show&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;iLogicAutomation&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RunRule&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"none-Imports"&lt;/SPAN&gt;) &lt;SPAN style="color: #808080;"&gt;' msgbox 2: Does show&lt;/SPAN&gt;

&lt;SPAN style="color: #800000;"&gt;iLogicAutomation&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SilentOperation&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;iLogicAutomation&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RunRule&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"with-Imports"&lt;/SPAN&gt;) &lt;SPAN style="color: #808080;"&gt;' msgbox 3: Does NOT show&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;iLogicAutomation&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RunRule&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"none-Imports"&lt;/SPAN&gt;) &lt;SPAN style="color: #808080;"&gt;' msgbox 4: Does show&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;iLogicAutomation&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SilentOperation&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;

&lt;SPAN style="color: #800000;"&gt;iLogicAutomation&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RunRule&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"with-Imports"&lt;/SPAN&gt;) &lt;SPAN style="color: #808080;"&gt;' msgbox 5: Does show&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;iLogicAutomation&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;RunRule&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"none-Imports"&lt;/SPAN&gt;) &lt;SPAN style="color: #808080;"&gt;' msgbox 6: Does show&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Rule [with-Imports]&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;AddReference&lt;/SPAN&gt; &lt;SPAN style="color: #008080;"&gt;"GDH.Inventor.iLogic.Utilities.dll"&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Imports&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GDH&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Inv&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;iLogic&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Utilities&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #800080;"&gt;Parameter&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"TEST"&lt;/SPAN&gt;) = &lt;SPAN style="color: #800080;"&gt;Parameter&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"TEST"&lt;/SPAN&gt;) + 1
&lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Test = "&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800080;"&gt;Parameter&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"TEST"&lt;/SPAN&gt;))&lt;/PRE&gt;&lt;P&gt;Rule [none-Imports]&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #808080;"&gt;' imports System.IO&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #800080;"&gt;Parameter&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"TEST"&lt;/SPAN&gt;) = &lt;SPAN style="color: #800080;"&gt;Parameter&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"TEST"&lt;/SPAN&gt;) + 1
&lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Test = "&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800080;"&gt;Parameter&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"TEST"&lt;/SPAN&gt;))&lt;/PRE&gt;&lt;P&gt;When i start the rule [main] i get 5&amp;nbsp; msgbox's. All msgbox's are shown when the iLogic-addin isn't in SilentOperation. But when the iLogic-addin is in SilentOperation then:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the rule &lt;U&gt;with&lt;/U&gt; the imports-statement &lt;U&gt;does not&lt;/U&gt; show a msgbox like i would &lt;U&gt;expect&lt;/U&gt; form SilentOperation.&lt;/LI&gt;&lt;LI&gt;the rule &lt;U&gt;without&lt;/U&gt; an import-statement &lt;U&gt;does&lt;/U&gt; show a msgbox wich i would &lt;U&gt;not expect&lt;/U&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;it is a bit more complicated because the import statement should be to the namespace of a dll that is also loaded in the rule. for example the following import statement will not make the msgbox disapear.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;imports&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;System&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 09:23:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/bug-silentoperation-is-most-of-the-time-not-silient/m-p/9447124#M108087</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2020-04-16T09:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: SilentOperation is most of the time not silient</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/bug-silentoperation-is-most-of-the-time-not-silient/m-p/9447164#M108088</link>
      <description>&lt;P&gt;Here is also the part file that i use for testing for any one who wants to see it. But i can not attached the refrenced dll in the forum. (If anyone from autodesk wants it for testing purpose then plz send me a personal message) There for the rules will not work at all.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 09:38:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/bug-silentoperation-is-most-of-the-time-not-silient/m-p/9447164#M108088</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2020-04-16T09:38:27Z</dc:date>
    </item>
  </channel>
</rss>

