<?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 How to run ilogic rule in the parts in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-run-ilogic-rule-in-the-parts/m-p/5459590#M53449</link>
    <description>&lt;P&gt;Hi to all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need some assistance to run the ilogic rule . let me detail. i write the ilogic rule for each part in the assembly. i would like to run all ilogic rule of each part at the same time. is it possible to&amp;nbsp;do&amp;nbsp;in the assembly document which&amp;nbsp;have those parts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;rishbi&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jan 2015 05:45:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-06T05:45:52Z</dc:date>
    <item>
      <title>How to run ilogic rule in the parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-run-ilogic-rule-in-the-parts/m-p/5459590#M53449</link>
      <description>&lt;P&gt;Hi to all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need some assistance to run the ilogic rule . let me detail. i write the ilogic rule for each part in the assembly. i would like to run all ilogic rule of each part at the same time. is it possible to&amp;nbsp;do&amp;nbsp;in the assembly document which&amp;nbsp;have those parts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;rishbi&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2015 05:45:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-run-ilogic-rule-in-the-parts/m-p/5459590#M53449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-06T05:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to run ilogic rule in the parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-run-ilogic-rule-in-the-parts/m-p/6227040#M62570</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you are looking for this snippet if you need to run a rule in an Occurence&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;iLogicVb&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;RunRule&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;PartA:1&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;ruleName&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;If you have the rules in your Assembly then the most common way is to have the rules trigged by a Parameter. Docing this is quite simple. You need to add something in the rule that are changed by a parameter.. Like this..&lt;/P&gt;&lt;P&gt;Dim triggerParameter as Double = fxParameterName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that you have the rule to Run everytime&amp;nbsp;&lt;SPAN&gt;fxParameterName changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rikard&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 19:29:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-run-ilogic-rule-in-the-parts/m-p/6227040#M62570</guid>
      <dc:creator>rikard.nilsson</dc:creator>
      <dc:date>2016-03-21T19:29:08Z</dc:date>
    </item>
  </channel>
</rss>

