<?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: iLogic rules gets triggered by another rule in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rules-gets-triggered-by-another-rule/m-p/12209009#M19555</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8021187"&gt;@Daan_M&lt;/a&gt;&amp;nbsp;.&amp;nbsp;You change user parameters using the &lt;U&gt;Parameter()&lt;/U&gt; function, if your &lt;STRONG&gt;Rule 1 = Assemble&lt;/STRONG&gt; is among "&lt;U&gt;Event Triggers"&lt;/U&gt;&amp;nbsp;"&lt;U&gt;Any User Parameter Change"&lt;/U&gt; then it will automatically fire.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 09:24:45 GMT</pubDate>
    <dc:creator>Andrii_Humeniuk</dc:creator>
    <dc:date>2023-08-31T09:24:45Z</dc:date>
    <item>
      <title>iLogic rules gets triggered by another rule</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rules-gets-triggered-by-another-rule/m-p/12208987#M19554</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got two iLogic rules, but one of them seems to trigger the other somehow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rule 1 = Assemble&lt;/P&gt;&lt;P&gt;Rule 2 = Check Excel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i check the Excel, it somehow runs Rule 1 after it's finished, but i don't understand why.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rule 2 code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Imports System.Text.RegularExpressions
Imports Microsoft.VisualBasic.FileIO
Sub Main()

Dim oDoc As Inventor.Document = ThisDoc.Document
Dim oSourceFile As String = "X:\Path\Test.xlsx"

Dim CellCounter As Integer = 1
Dim FileTotal As Integer = 4

Do While CellCounter &amp;lt; FileTotal

Parameter("Type") 				= GoExcel.CellValue(oSourceFile, "Blad1", "A" &amp;amp; CellCounter).ToString
Parameter("Vermogen") 			= GoExcel.CellValue(oSourceFile, "Blad1", "B" &amp;amp; CellCounter).ToString
Parameter("Motorflens") 		= GoExcel.CellValue(oSourceFile, "Blad1", "C" &amp;amp; CellCounter).ToString
Parameter("Rem")				= GoExcel.CellValue(oSourceFile, "Blad1", "D" &amp;amp; CellCounter).ToString
Parameter("Handrem")			= GoExcel.CellValue(oSourceFile, "Blad1", "E" &amp;amp; CellCounter).ToString
Parameter("Handrem_Positie") 	= GoExcel.CellValue(oSourceFile, "Blad1", "F" &amp;amp; CellCounter).ToString
Parameter("Wartelpositie")		= GoExcel.CellValue(oSourceFile, "Blad1", "G" &amp;amp; CellCounter).ToString
Parameter("Bestandsnaam")		= GoExcel.CellValue(oSourceFile, "Blad1", "H" &amp;amp; CellCounter).ToString

Parameter("Opslaan") 			= "Ja"

CellCounter = CellCounter + 1

Loop

End Sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is this happening? i disabled all event triggers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additional information of which i'm not sure wether it's important; The paramater are present in rule 1 as well and get used for the assembly.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 09:19:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rules-gets-triggered-by-another-rule/m-p/12208987#M19554</guid>
      <dc:creator>Daan_M</dc:creator>
      <dc:date>2023-08-31T09:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rules gets triggered by another rule</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rules-gets-triggered-by-another-rule/m-p/12209009#M19555</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8021187"&gt;@Daan_M&lt;/a&gt;&amp;nbsp;.&amp;nbsp;You change user parameters using the &lt;U&gt;Parameter()&lt;/U&gt; function, if your &lt;STRONG&gt;Rule 1 = Assemble&lt;/STRONG&gt; is among "&lt;U&gt;Event Triggers"&lt;/U&gt;&amp;nbsp;"&lt;U&gt;Any User Parameter Change"&lt;/U&gt; then it will automatically fire.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 09:24:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rules-gets-triggered-by-another-rule/m-p/12209009#M19555</guid>
      <dc:creator>Andrii_Humeniuk</dc:creator>
      <dc:date>2023-08-31T09:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rules gets triggered by another rule</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rules-gets-triggered-by-another-rule/m-p/12209021#M19556</link>
      <description>&lt;P&gt;Found the problem;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of the user paramaters in rule 1 was stated as:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Bestandsnaam&lt;/LI-CODE&gt;&lt;P&gt;instead of:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Parameter("Bestandsnaam")&lt;/LI-CODE&gt;&lt;P&gt;When rule 2 changes this paramater based on the Excel, the parameterchange triggers rule 1.&lt;/P&gt;&lt;P&gt;Which i still find a bit strange, since i have the Event trigger for 'Any User Parameter Change' disabled;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daan_M_0-1693474112989.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1260333i36ADF488BE5E61CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daan_M_0-1693474112989.png" alt="Daan_M_0-1693474112989.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either way this solved the problem, for future users looking for the answer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 09:29:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rules-gets-triggered-by-another-rule/m-p/12209021#M19556</guid>
      <dc:creator>Daan_M</dc:creator>
      <dc:date>2023-08-31T09:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rules gets triggered by another rule</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rules-gets-triggered-by-another-rule/m-p/12209225#M19557</link>
      <description>&lt;P&gt;"Blue"&amp;nbsp; Parameter always trigger&amp;nbsp; run rule automatically&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this options in rule&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards Johan&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMGunnar_0-1693480151723.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1260371i17CB26322BA8AC28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMGunnar_0-1693480151723.png" alt="JMGunnar_0-1693480151723.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 11:08:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rules-gets-triggered-by-another-rule/m-p/12209225#M19557</guid>
      <dc:creator>JMGunnar</dc:creator>
      <dc:date>2023-08-31T11:08:23Z</dc:date>
    </item>
  </channel>
</rss>

