<?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, suppress pattern in 2nd level subassembly in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784435#M136092</link>
    <description>&lt;P&gt;Here's what I do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="3"&gt;&lt;FONT color="#0000ff" size="3"&gt;&lt;FONT color="#000000"&gt;IF&lt;/FONT&gt; REF_YN &lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;= 1 &lt;/FONT&gt;&lt;FONT color="#ff0000" size="3"&gt;&lt;FONT color="#ff0000" size="3"&gt;then&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="3"&gt;&lt;FONT color="#800000" size="3"&gt;RefYN.Enabled &lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;= &lt;/FONT&gt;&lt;/STRONG&gt;True&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="3"&gt;&lt;FONT color="#800000" size="3"&gt;RefYN.Visible &lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;= &lt;/FONT&gt;&lt;/STRONG&gt;True&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="3"&gt;&lt;FONT color="#800000" size="3"&gt;RefYN.BOMStructure &lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;= 51969&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000" size="3"&gt;&lt;FONT color="#ff0000" size="3"&gt;else&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="3"&gt;&lt;FONT color="#800000" size="3"&gt;RefYN.Enabled &lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;= &lt;/FONT&gt;&lt;/STRONG&gt;False&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="3"&gt;&lt;FONT color="#800000" size="3"&gt;RefYN.Visible &lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;= &lt;/FONT&gt;&lt;/STRONG&gt;False&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="3"&gt;&lt;FONT color="#800000" size="3"&gt;RefYN.BOMStructure &lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;= 51972&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the condition I either turn the parts on/off. As you can see I set the BOM as well, i do not use suppress itself because I don't want to deal with LOD's as they were giving me all kinds of errors before. This does the same thing and I don't have to deal with LOD's or the errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Turns out it's not working again (though the transparencey issue seems ok (fingers crossed)).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a section of pipe that can be 1-2 pipe(s), 1-2 plate(s), or a combination thereof. In one specific case, i have 4 different ends on just one section of the pipe. Seems when i use ComponentReplace to swatch the pieces around, after a couple swaps, the connection what is/isn't visible in the sub assembly gets lost. That's driving me nuts at the moment because otherwise i'm nearly finished &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Feb 2013 20:14:28 GMT</pubDate>
    <dc:creator>mslosar</dc:creator>
    <dc:date>2013-02-19T20:14:28Z</dc:date>
    <item>
      <title>iLogic, suppress pattern in 2nd level subassembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3483584#M136083</link>
      <description>&lt;P&gt;I need to suppress a pattern in an 2nd level subassembly. But is only able to do it in the same level where the pattern is placed etc:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Length &amp;lt; 3000 mm Then&lt;/P&gt;&lt;P&gt;Component.IsActive("1 st level subassembly", "Name of pattern in 1nd level subassembly") = False&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if i do it with an MakePath... etc.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;If Length &amp;lt; 3000 mm Then&lt;/P&gt;&lt;P&gt;Component.IsActive(MakePath("1 st level subassembly", "2 nd level subassembly", "Name of pattern in 2nd level subassembly")) = False&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Length &amp;lt; 3000 mm Then&lt;/P&gt;&lt;P&gt;Component.IsActive(MakePath("1 st level subassembly", "2 nd level subassembly"), "Name of pattern in 2nd level subassembly") = False&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it not possible to suppress a pattern by an MakePath?&lt;/P&gt;&lt;!-- StartFragment --&gt;&lt;!-- EndFragment --&gt;</description>
      <pubDate>Mon, 04 Jun 2012 12:45:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3483584#M136083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-04T12:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, suppress pattern in 2nd level subassembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3497448#M136084</link>
      <description>&lt;P&gt;No, you can't suppress a pattern in a subassembly or 2nd level subassembly. &amp;nbsp;But here's a workaround:&lt;BR /&gt;Create a rule in the 2nd level subassembly. &amp;nbsp;Then pass the Length parameter from a rule in the top-level assembly with a statement like this:&lt;/P&gt;
&lt;P&gt;Parameter("2 nd level subassembly", "Length") = Length&lt;/P&gt;
&lt;P&gt;This will propagate the value from the top level assembly, and it will trigger the running of the rule in the 2nd level subassembly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2012 02:22:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3497448#M136084</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2012-06-13T02:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, suppress pattern in 2nd level subassembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3497840#M136085</link>
      <description>&lt;P&gt;Hi Rene&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;compo &lt;STRONG&gt;=&lt;/STRONG&gt; &lt;STRONG&gt;Component&lt;/STRONG&gt;.&lt;STRONG&gt;InventorComponent&lt;/STRONG&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;STRONG&gt;MakePath&lt;/STRONG&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;"1 st level subassembly", "2 nd level subassembly"&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim&lt;/STRONG&gt; oPattern &lt;STRONG&gt;As&lt;/STRONG&gt; OccurrencePattern&lt;/P&gt;&lt;P&gt;oPattern &lt;STRONG&gt;=&lt;/STRONG&gt; compo.Definition.OccurrencePatterns.Item&lt;STRONG&gt;(&lt;/STRONG&gt;"Name of pattern in 2nd level subassembly"&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim&lt;/STRONG&gt; oPatternElement &lt;STRONG&gt;As&lt;/STRONG&gt; OccurrencePatternElement&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For&lt;/STRONG&gt; &lt;STRONG&gt;Each&lt;/STRONG&gt; oPatternElement &lt;STRONG&gt;In&lt;/STRONG&gt; oPattern.OccurrencePatternElements&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Dim&lt;/STRONG&gt; oOcc &lt;STRONG&gt;As&lt;/STRONG&gt; ComponentOccurrence&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;For&lt;/STRONG&gt; &lt;STRONG&gt;Each&lt;/STRONG&gt; oOcc &lt;STRONG&gt;In&lt;/STRONG&gt; oPatternElement.Occurrences&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;'oOcc.Unsuppress&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oOcc.Suppress&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Next&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Next&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;InventorVb&lt;/STRONG&gt;.&lt;STRONG&gt;DocumentUpdate&lt;/STRONG&gt;&lt;STRONG&gt;()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;René J﻿&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2012 11:10:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3497840#M136085</guid>
      <dc:creator>Rene-J</dc:creator>
      <dc:date>2012-06-13T11:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, suppress pattern in 2nd level subassembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3767288#M136087</link>
      <description>&lt;P&gt;I`m trying to do something similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a main assemblie with several sub assemblies. Im trying to suppress a assembly within the sub assembly&amp;nbsp;from the main assembly. I have made an iLogic rule in the subassembly which works, but how can I link the parameteres from the subassembly to the main assembly?&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2013 10:16:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3767288#M136087</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-02T10:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, suppress pattern in 2nd level subassembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3767299#M136088</link>
      <description>&lt;P&gt;I figured it out!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;!-- StartFragment --&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;If &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;Fundament_type&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;Bolted connection&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;" &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;Parameter&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;XXXXXXXXXXXXXX:1&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;Fundament&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;Bolted&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;Parameter&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;XXXXXXXXXXXXXX:1&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;Fundament&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;Bolted&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;End &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;If&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;If &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;Fundament_type &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;Welded connection&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;" &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;Parameter&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;XXXXXXXXXXXXXX:1&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;Fundament&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;Welded&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;Parameter&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;XXXXXXXXXXXXXX:1&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;Fundament&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;Welded&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;End &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-weight: bold;"&gt;If&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;!-- EndFragment --&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2013 11:01:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3767299#M136088</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-02T11:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, suppress pattern in 2nd level subassembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784267#M136089</link>
      <description>&lt;P&gt;I've got this same problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a sub assembly with 4 parts in it that i need to switch between in different conditions. In the subassembly itself, i've got rules that disable, set invisible, and set the bom to reference for the ones that aren't used in the specific condition. In the sub it works just fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When loading the sub into the main model - all pieces are shown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried making a rule in the main file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Parameter&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT color="#008080" size="3"&gt;&lt;FONT color="#008080" size="3"&gt;"file.iam"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="3"&gt;, &lt;/FONT&gt;&lt;FONT color="#008080" size="3"&gt;&lt;FONT color="#008080" size="3"&gt;"LENGTH"&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;) = ExisingVariable&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;When I run the rule in the main assembly, the parameter is sent to the sub assembly correctly, but all my pieces are still visible in the top level.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Is the case different when using enable/visible/BOMStructure instead of simply suppress?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;I dont' think that's the case because I do the same thing (enable/visible/BomStructure) in my top level and I loaded that as an iam into another file and things that were disabled/invisible etc show up correctly in the upper level.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;An odd occurence is that I have I part being diabled and invisible and it's showing at about 80-90% transparent. The other 4 things done the same way are completely invisible. Weird Weird results.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 19:03:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784267#M136089</guid>
      <dc:creator>mslosar</dc:creator>
      <dc:date>2013-02-19T19:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, suppress pattern in 2nd level subassembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784413#M136090</link>
      <description>&lt;P&gt;Adding to the weird....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I removed the offending assemblies from my top level assembly and reinserted them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now it "seems" to be working correctly. Hadn't encountered that before.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 19:57:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784413#M136090</guid>
      <dc:creator>mslosar</dc:creator>
      <dc:date>2013-02-19T19:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, suppress pattern in 2nd level subassembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784425#M136091</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;There are some difference, when using&amp;nbsp; ilogic to supress parts it is suppress the part and set BOMstructure to reference.&lt;/P&gt;&lt;P&gt;when you using "VBA" you have to change BOMstructure to reference when suppress.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have modify my code to handle this.&lt;/P&gt;&lt;P&gt;Rene J&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim Suppress as Boolean&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;Suppress = True&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;compo = Component.InventorComponent(MakePath("1 st level subassembly", "2 nd level subassembly"))&lt;/P&gt;&lt;P&gt;Dim oPattern As OccurrencePattern&lt;/P&gt;&lt;P&gt;oPattern = compo.Definition.OccurrencePatterns.Item("Name of pattern in 2nd level subassembly")&lt;/P&gt;&lt;P&gt;Dim oPatternElement As OccurrencePatternElement&lt;/P&gt;&lt;P&gt;For Each oPatternElement In oPattern.OccurrencePatternElements&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim oOcc As ComponentOccurrence&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each oOcc In oPatternElement.Occurrences&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Suppress = False Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oOcc.Unsuppress &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oOcc.BOMStructure = 51969 'kDefaultBOMStructure = 51969 &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; If&amp;nbsp; oOcc.Suppressed = True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; oOcc.Unsuppress&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; End If &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;oOcc.BOMStructure = 51972 'kReferenceBOMStructure = 51972&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oOcc.Suppress &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;InventorVb.DocumentUpdate()&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 20:08:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784425#M136091</guid>
      <dc:creator>Rene-J</dc:creator>
      <dc:date>2013-02-19T20:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, suppress pattern in 2nd level subassembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784435#M136092</link>
      <description>&lt;P&gt;Here's what I do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="3"&gt;&lt;FONT color="#0000ff" size="3"&gt;&lt;FONT color="#000000"&gt;IF&lt;/FONT&gt; REF_YN &lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;= 1 &lt;/FONT&gt;&lt;FONT color="#ff0000" size="3"&gt;&lt;FONT color="#ff0000" size="3"&gt;then&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="3"&gt;&lt;FONT color="#800000" size="3"&gt;RefYN.Enabled &lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;= &lt;/FONT&gt;&lt;/STRONG&gt;True&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="3"&gt;&lt;FONT color="#800000" size="3"&gt;RefYN.Visible &lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;= &lt;/FONT&gt;&lt;/STRONG&gt;True&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="3"&gt;&lt;FONT color="#800000" size="3"&gt;RefYN.BOMStructure &lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;= 51969&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000" size="3"&gt;&lt;FONT color="#ff0000" size="3"&gt;else&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="3"&gt;&lt;FONT color="#800000" size="3"&gt;RefYN.Enabled &lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;= &lt;/FONT&gt;&lt;/STRONG&gt;False&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="3"&gt;&lt;FONT color="#800000" size="3"&gt;RefYN.Visible &lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;= &lt;/FONT&gt;&lt;/STRONG&gt;False&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="3"&gt;&lt;FONT color="#800000" size="3"&gt;RefYN.BOMStructure &lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;= 51972&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the condition I either turn the parts on/off. As you can see I set the BOM as well, i do not use suppress itself because I don't want to deal with LOD's as they were giving me all kinds of errors before. This does the same thing and I don't have to deal with LOD's or the errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Turns out it's not working again (though the transparencey issue seems ok (fingers crossed)).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a section of pipe that can be 1-2 pipe(s), 1-2 plate(s), or a combination thereof. In one specific case, i have 4 different ends on just one section of the pipe. Seems when i use ComponentReplace to swatch the pieces around, after a couple swaps, the connection what is/isn't visible in the sub assembly gets lost. That's driving me nuts at the moment because otherwise i'm nearly finished &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 20:14:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784435#M136092</guid>
      <dc:creator>mslosar</dc:creator>
      <dc:date>2013-02-19T20:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, suppress pattern in 2nd level subassembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784451#M136093</link>
      <description>&lt;P&gt;Here's something interesting - if i place the model into a drawing sheet, it shows up correctly as in only the piece that is supposed to show up shows up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course the drawing sheet is making use of reference and not visible/enabled. Not sure what there's a disconnect on those and it's driving me crazy.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 20:29:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784451#M136093</guid>
      <dc:creator>mslosar</dc:creator>
      <dc:date>2013-02-19T20:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, suppress pattern in 2nd level subassembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784459#M136094</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;Have you set the drawing view to using the corrent &amp;nbsp;LOD or REPs of you assembly ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rene J&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 20:42:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784459#M136094</guid>
      <dc:creator>Rene-J</dc:creator>
      <dc:date>2013-02-19T20:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, suppress pattern in 2nd level subassembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784537#M136095</link>
      <description>&lt;P&gt;I just figured out the problem....something i didn't know would be an issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the top level, i'm switching between different pieces as I said before. 2 pieces of pipe, 1 piece of pipe, 1 pipe 1 plate, 2 pieces of plate, etc. In all i've got 7 different pieces i'm switching between with ComponentReplace. That part never had any issues until today.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had just started to add those 4 pieces that were all showing up in the first of the sub-assemblies i was switching between. And that's where the problem began.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As it turns out, of my 7 choices, all are assemblies - but one. When I set it to a single piece of pipe, i just used the ipt file because it seemed kind of pointless to make an assembly for a single part. Turns out, though, that i could swap between the assemblies and the tip pieces that were supposed to be off stayed off and the one that was on stayed on. When i swapped to to the part file, it apparently would break the connection between the assembly file and the top level forcing all pieces to be on and visible. With the connection broken, nothing could restore it other than deleting the assembly from the top level and reinserting it. Didn't make sense that that could be the reason, but when i replaced it with an assembly it was fine. I've switched between all the options now and haven't had it be incorrect yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More ironically,the one part file was the piece i had planned on adding the different tips to next. Had I started there instead there'd have been no problem &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, just 'knock on wood' that it's the actual permanent solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 21:54:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/3784537#M136095</guid>
      <dc:creator>mslosar</dc:creator>
      <dc:date>2013-02-19T21:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, suppress pattern in 2nd level subassembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/5669662#M136096</link>
      <description>&lt;P&gt;What about a Pattern Component in a Frame. I can't supress it or make it invisible, the workaround doesn't work inside the Frame.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to supress a Pattern in a Frame?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Mark&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2015 09:15:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-suppress-pattern-in-2nd-level-subassembly/m-p/5669662#M136096</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-09T09:15:31Z</dc:date>
    </item>
  </channel>
</rss>

