<?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 rule to unsuppress subassemblies and their components in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11824211#M150178</link>
    <description>&lt;P&gt;try this&lt;/P&gt;
&lt;LI-CODE lang="visual-basic"&gt;Sub Main()
    Dim doc = ThisDoc.Document
    res(ThisDoc.Document)
    doc.Update2()
End Sub

Sub res(doc As Document)
    If (doc.DocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kAssemblyDocumentObject) Then Return

    Dim aDoc As AssemblyDocument = doc
    If (aDoc.ComponentDefinition.IsiAssemblyMember) Then
        aDoc = aDoc.ComponentDefinition.FactoryDocument
    End If

    Dim occs As ComponentOccurrences = aDoc.ComponentDefinition.Occurrences

    For Each occ As ComponentOccurrence In occs
        occ.Unsuppress()
        res(occ.Definition.Document)
    Next
End Sub&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 15 Mar 2023 20:34:42 GMT</pubDate>
    <dc:creator>JelteDeJong</dc:creator>
    <dc:date>2023-03-15T20:34:42Z</dc:date>
    <item>
      <title>iLogic rule to unsuppress subassemblies and their components</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11817988#M150091</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a code to unsuppress the components in the assembly. Unfortunately, no subassemblies are considered. How i can unsuppress subassemblies and their components?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim oComp As ComponentOccurrence
Dim oComps As ComponentOccurrences

oComps = ThisDoc.Document.ComponentDefinition.Occurrences

For Each oComp In oComps
	If Component.IsActive(oComp.Name) = False Then oComp.Unsuppress
Next&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 15:00:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11817988#M150091</guid>
      <dc:creator>anandax</dc:creator>
      <dc:date>2023-03-13T15:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to unsuppress subassemblies and their components</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11818152#M150098</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/531016"&gt;@anandax&lt;/a&gt;.&amp;nbsp; Are you simply wanting a rule that will un-suppress every component in every level of the assembly, without any other requirements or checks?&amp;nbsp; If you want to work with ComponentOccurrence objects, and you want your code to reach all levels of an assembly structure, then you will need a recursive sub routine.&amp;nbsp; Below is a very basic example of a rule like that with no error checking/handling.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Sub Main
	Dim oADoc As AssemblyDocument = ThisDoc.Document
	Dim oOccs As ComponentOccurrences = oADoc.ComponentDefinition.Occurrences
	RecurseComponents(oOccs)
End Sub

Sub RecurseComponents(oComps As ComponentOccurrences)
	If IsNothing(oComps) OrElse oComps.Count = 0 Then Exit Sub
	For Each oComp As ComponentOccurrence In oComps
		If oComp.Suppressed Then oComp.Unsuppress
		If oComp.SubOccurrences.Count &amp;gt; 0 Then
			RecurseComponents(oComp.SubOccurrences)
		End If
	Next
End Sub&lt;/LI-CODE&gt;
&lt;P&gt;If this solved your problem, or answered your question, please click &lt;SPAN&gt;&lt;STRONG&gt; ACCEPT SOLUTION &lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;Or, if this helped you, please click (LIKE or KUDOS) &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@7401B55A0A518861312A0F851CD29320/emoticons/1f44d.png" alt=":thumbs_up:" title=":thumbs_up:" /&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 15:58:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11818152#M150098</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2023-03-13T15:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to unsuppress subassemblies and their components</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11819949#M150120</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;. Thank you for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run it, I get the following message&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Error in line 10 (&lt;EM&gt;"If oComp.Suppressed Then oComp.Unsuppress"&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unknown error (Exception from HRESULT: 0x80004005 (E_FAIL)&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 10:04:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11819949#M150120</guid>
      <dc:creator>anandax</dc:creator>
      <dc:date>2023-03-14T10:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to unsuppress subassemblies and their components</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11820176#M150124</link>
      <description>&lt;P&gt;Hmm...&amp;nbsp; I was trying to think of some reason why it would not allow you to un-suppress a component, and one thing that comes to mind is that the assembly is ReadOnly for some reason.&amp;nbsp; One way the assembly may be ReadOnly is if we were dealing with a ModelState 'member' version of the document reference.&lt;/P&gt;
&lt;P&gt;Try changing this:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;ThisDoc.Document&lt;/LI-CODE&gt;
&lt;P&gt;...to this:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;ThisDoc.FactoryDocument&lt;/LI-CODE&gt;
&lt;P&gt;...and see if that changes things.&lt;/P&gt;
&lt;P&gt;When you suppress components, that suppressed or unsuppressed state is recorded in the ModelStates.&amp;nbsp; Or, if you are using a version of Inventor previous to 2022, they would be recorded in the LOD's (LevelOfDetailRepresentations), and that alternate line I suggested above would not work for you.&amp;nbsp; Which version are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 11:50:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11820176#M150124</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2023-03-14T11:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to unsuppress subassemblies and their components</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11820815#M150136</link>
      <description>&lt;P&gt;Unfortunately this also does not work. With your code only the components or assemblies directly in the assembly are unsuppressed. Components in a subassembly are still suppressed. The error message still appears&lt;/P&gt;&lt;P&gt;I am using version 2023.2.1. All files have write access (attrib -R C:\Workspace\*.* /D /S)&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 15:56:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11820815#M150136</guid>
      <dc:creator>anandax</dc:creator>
      <dc:date>2023-03-14T15:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to unsuppress subassemblies and their components</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11820918#M150139</link>
      <description>&lt;P&gt;I attached one more version of the code, but I am not that confident that it will work for you either, because I have not tested it on any local files.&amp;nbsp; I do not use this type of routine myself, because I control component suppression in my assemblies at each level, as I am building my model files, with ModelStates.&amp;nbsp; Then when I put my model into an assembly as a component, I set the component to the ModelState I want, which controls which sub-components will be suppressed.&amp;nbsp; So, I haven't tried a multi-level, top to bottom, wave of un-suppressing components since the ModelStates were involved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this code still does not work, I would suggest that you set-up the needed ModelStates within each of your sub-components, in which the component suppression is the way you want it, then just set the component's ActiveModelState to the one you have prepared for that situation, instead of trying to control all levels of suppression, down from the top level, all at once.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 16:44:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11820918#M150139</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2023-03-14T16:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to unsuppress subassemblies and their components</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11822478#M150153</link>
      <description>&lt;P&gt;Unfortunately it still does not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enclosed is the iLogic Log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;INFO| 1: &amp;gt;&amp;gt;---------------------------
TRACE|Entering rule: unsuppress_all (in Assembly_test_suppress.iam)
	ERROR|Error Unsuppressing component named Part2-circle_green:1
Unknown error (Exception from HRESULT: 0x80004005 (E_FAIL))
   at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&amp;amp; msgData)
   at Inventor.ComponentOccurrence.Unsuppress()
   at ThisRule.RecurseComponents(ComponentOccurrences oComps) in C:\Users\admin\AppData\Local\Temp\iLogic Rules\Assembly_test_suppress.iam.unsuppress_all.vb:line 21
	ERROR|Error Unsuppressing component named Part3_polygon_green:1
Unknown error (Exception from HRESULT: 0x80004005 (E_FAIL))
   at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&amp;amp; msgData)
   at Inventor.ComponentOccurrence.Unsuppress()
   at ThisRule.RecurseComponents(ComponentOccurrences oComps) in C:\Users\admin\AppData\Local\Temp\iLogic Rules\Assembly_test_suppress.iam.unsuppress_all.vb:line 21
	ERROR|Error Unsuppressing component named Part2-circle_green:1
Unknown error (Exception from HRESULT: 0x80004005 (E_FAIL))
   at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&amp;amp; msgData)
   at Inventor.ComponentOccurrence.Unsuppress()
   at ThisRule.RecurseComponents(ComponentOccurrences oComps) in C:\Users\admin\AppData\Local\Temp\iLogic Rules\Assembly_test_suppress.iam.unsuppress_all.vb:line 21
	ERROR|Error Unsuppressing component named Part3_polygon_green:1
Unknown error (Exception from HRESULT: 0x80004005 (E_FAIL))
   at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&amp;amp; msgData)
   at Inventor.ComponentOccurrence.Unsuppress()
   at ThisRule.RecurseComponents(ComponentOccurrences oComps) in C:\Users\admin\AppData\Local\Temp\iLogic Rules\Assembly_test_suppress.iam.unsuppress_all.vb:line 21
TRACE|Exiting rule: unsuppress_all (in Assembly_test_suppress.iam)&lt;/LI-CODE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;I have attached a test assembly (Test_Suppress.zip )&lt;/P&gt;&lt;P&gt;Currently I am analyzing a problem with Vault and suppressed components (&amp;nbsp;&lt;A title="Link Vault and suppressed components" href="https://forums.autodesk.com/t5/inventor-forum/saving-assembly-taking-forever-cant-check-in/m-p/11817069/highlight/true#M890603" target="_blank" rel="noopener"&gt;Link&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;For me, it would have been helpful if I could have restored all suppressed components.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The procedure with the Model States is also an option.&amp;nbsp;If there is no other way, we will adapt it for existing assemblies.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 09:40:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11822478#M150153</guid>
      <dc:creator>anandax</dc:creator>
      <dc:date>2023-03-15T09:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to unsuppress subassemblies and their components</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11824211#M150178</link>
      <description>&lt;P&gt;try this&lt;/P&gt;
&lt;LI-CODE lang="visual-basic"&gt;Sub Main()
    Dim doc = ThisDoc.Document
    res(ThisDoc.Document)
    doc.Update2()
End Sub

Sub res(doc As Document)
    If (doc.DocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kAssemblyDocumentObject) Then Return

    Dim aDoc As AssemblyDocument = doc
    If (aDoc.ComponentDefinition.IsiAssemblyMember) Then
        aDoc = aDoc.ComponentDefinition.FactoryDocument
    End If

    Dim occs As ComponentOccurrences = aDoc.ComponentDefinition.Occurrences

    For Each occ As ComponentOccurrence In occs
        occ.Unsuppress()
        res(occ.Definition.Document)
    Next
End Sub&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 15 Mar 2023 20:34:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11824211#M150178</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2023-03-15T20:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to unsuppress subassemblies and their components</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11825393#M150203</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5011186"&gt;@JelteDeJong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much. It works fine!&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@E2A014DBFFC1237E2954DB0EF45916F9/emoticons/1f44f.png" alt=":clapping_hands:" title=":clapping_hands:" /&gt;&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@7401B55A0A518861312A0F851CD29320/emoticons/1f44d.png" alt=":thumbs_up:" title=":thumbs_up:" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 09:45:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11825393#M150203</guid>
      <dc:creator>anandax</dc:creator>
      <dc:date>2023-03-16T09:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to unsuppress subassemblies and their components</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11825700#M150211</link>
      <description>&lt;P&gt;OK. Now I feel like I have to ask the question...Why are you checking the "&lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=AssemblyComponentDefinition_IsiAssemblyMember" target="_blank" rel="noopener"&gt;IsiAssemblyMember&lt;/A&gt;" property?&amp;nbsp; And if it was an &lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=iAssemblyMember" target="_blank" rel="noopener"&gt;iAssemblyMember&lt;/A&gt;, then why are you using the "&lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=AssemblyComponentDefinition_FactoryDocument" target="_blank" rel="noopener"&gt;FactoryDocument&lt;/A&gt;" property to get the correct version of the document.&amp;nbsp; The AssemblyComponentDefinition already has 4 direct properties specifically for iAssembly's&amp;nbsp; (&lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=AssemblyComponentDefinition_IsiAssemblyFactory" target="_blank" rel="noopener"&gt;IsiAssemblyFactory&lt;/A&gt;, &lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=AssemblyComponentDefinition_IsiAssemblyMember" target="_blank" rel="noopener"&gt;IsiAssemblyMember&lt;/A&gt;, &lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=AssemblyComponentDefinition_iAssemblyFactory" target="_blank" rel="noopener"&gt;iAssemblyFactory&lt;/A&gt;, &amp;amp; &lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=AssemblyComponentDefinition_iAssemblyMember" target="_blank" rel="noopener"&gt;iAssemblyMember&lt;/A&gt;).&amp;nbsp; So, if you are truly checking to see if it represented an iAssemblyMember, then why not use either the&amp;nbsp;AssemblyComponentDefinition's iAssemblyMember property or its iAssemblyFactory property to get that reference, instead of using the FactoryDocument property, which relates to ModelStates?&amp;nbsp; If you were checking to see if the document represented a ModelState Member document, wouldn't you instead check the "&lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=AssemblyComponentDefinition_IsModelStateMember" target="_blank" rel="noopener"&gt;IsModelStateMember&lt;/A&gt;" property, or maybe even the "&lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=AssemblyComponentDefinition_IsModelStateFactory" target="_blank" rel="noopener"&gt;IsModelStateFactory&lt;/A&gt;" property?&amp;nbsp; So, I am confused by how/why that code worked.&amp;nbsp; Does the IsiAssemblyMember property always return True when it really represents a ModelState member?&amp;nbsp; If so, that seems like a bug, because last I heard was that the ModelStates and the iParts &amp;amp; iAssemblies were going to remain two separate things that can't be present in the same document at the same time.&amp;nbsp; Also, if there is only one ModelState in any model document, its ComponentDefinition.FactoryDocument property will return 'Nothing', which seems like that could cause problems if checking IsiAssemblyMember returned True, because the following line is attempting to get components from that document reference that was just set to Nothing.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 12:11:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11825700#M150211</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2023-03-16T12:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule to unsuppress subassemblies and their components</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11826226#M150223</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;&amp;nbsp;Your are absolute right. (This is not the first time I do this wrong....) the code should look more like this:&lt;/P&gt;
&lt;LI-CODE lang="visual-basic"&gt;Sub Main()
    Dim doc = ThisDoc.Document
    res(ThisDoc.Document)
    doc.Update2()
End Sub

Sub res(doc As Document)
    If (doc.DocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kAssemblyDocumentObject) Then Return

    Dim aDoc As AssemblyDocument = doc
    If (aDoc.ComponentDefinition.IsModelStateMember) Then
        aDoc = aDoc.ComponentDefinition.FactoryDocument
    End If

    Dim occs As ComponentOccurrences = aDoc.ComponentDefinition.Occurrences

    For Each occ As ComponentOccurrence In occs
        occ.Unsuppress()
        res(occ.Definition.Document)
    Next
End Sub&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 16 Mar 2023 15:04:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-to-unsuppress-subassemblies-and-their-components/m-p/11826226#M150223</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2023-03-16T15:04:23Z</dc:date>
    </item>
  </channel>
</rss>

