<?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: I-Logic with Derived Parts in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10277268#M50885</link>
    <description>&lt;P&gt;I was able to turn off the derived part in this derived part you have attached.&amp;nbsp; Below is how this is achieved and I have included this in the attached part. Depending on how you are going to use this, it will need to be adapted, have you a larger end goal?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'https://forums.autodesk.com/t5/inventor-customization/ilogic-rule-to-include-exclude-derived-parameter-in-all-parts/td-p/8691196&lt;/SPAN&gt;

&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;.&lt;SPAN&gt;DocumentType&lt;/SPAN&gt; &amp;lt;&amp;gt; &lt;SPAN&gt;kPartDocumentObject&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
	&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"Make a Part Document the active document,Exiting"&lt;/SPAN&gt;, &lt;SPAN&gt;"iLogic"&lt;/SPAN&gt;) 
&lt;SPAN&gt;Else&lt;/SPAN&gt;
	
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerSolidBodyList&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;New&lt;/SPAN&gt; &lt;SPAN&gt;ArrayList&lt;/SPAN&gt;
	
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerPart&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartDocument&lt;/SPAN&gt;
	&lt;SPAN&gt;oDerPart&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;

	&lt;SPAN&gt;'Look for Derived part components&lt;/SPAN&gt;
	&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;oDerPart&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN&gt;DerivedPartComponents&lt;/SPAN&gt;.&lt;SPAN&gt;Count&lt;/SPAN&gt; &amp;lt; 1 &lt;SPAN&gt;Then&lt;/SPAN&gt;
		&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"No Derived Part Components in this part"&lt;/SPAN&gt;, &lt;SPAN&gt;"iLogic"&lt;/SPAN&gt;)   

	&lt;SPAN&gt;Else&lt;/SPAN&gt;
		&lt;SPAN&gt;' Set a reference to the part component definition&lt;/SPAN&gt;
		&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerPartCompDef&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartComponentDefinition&lt;/SPAN&gt;
		&lt;SPAN&gt;oDerPartCompDef&lt;/SPAN&gt; = &lt;SPAN&gt;oDerPart&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;
		
		&lt;SPAN&gt;'Get a reference to derived part components in this part&lt;/SPAN&gt;
		&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerPartComps&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DerivedPartComponents&lt;/SPAN&gt;
		&lt;SPAN&gt;oDerPartComps&lt;/SPAN&gt; = &lt;SPAN&gt;oDerPartCompDef&lt;/SPAN&gt;.&lt;SPAN&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN&gt;DerivedPartComponents&lt;/SPAN&gt;
		
		&lt;SPAN&gt;'Get a reference to derived part component&lt;/SPAN&gt;
		&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerPartComp&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DerivedPartComponent&lt;/SPAN&gt;
		&lt;SPAN&gt;oDerPartComp&lt;/SPAN&gt; = &lt;SPAN&gt;oDerPartComps&lt;/SPAN&gt;(1)&lt;SPAN&gt;'1st component&lt;/SPAN&gt;
		
		&lt;SPAN&gt;' Derived part component by name&lt;/SPAN&gt;
		&lt;SPAN&gt;'MessageBox.Show(oDerPartComp.Name, "iLogic")&lt;/SPAN&gt;
		
		&lt;SPAN&gt;'ReferenceFeature objects 'Found in API Help searching solidbody&lt;/SPAN&gt;
		&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerSolidBodies&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;ReferenceFeaturesEnumerator&lt;/SPAN&gt;
		&lt;SPAN&gt;oDerSolidBodies&lt;/SPAN&gt; = &lt;SPAN&gt;oDerPartComp&lt;/SPAN&gt;.&lt;SPAN&gt;SolidBodies&lt;/SPAN&gt;
		
		&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerSolidBody&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;ReferenceFeature&lt;/SPAN&gt;
		
		&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oDerSolidBody&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oDerSolidBodies&lt;/SPAN&gt;
			&lt;SPAN&gt;'Add each solid body to array list&lt;/SPAN&gt;
			&lt;SPAN&gt;oDerSolidBodyList&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;oDerSolidBody&lt;/SPAN&gt;.&lt;SPAN&gt;Name&lt;/SPAN&gt;)
			&lt;SPAN&gt;'MessageBox.Show(oDerSolidBody.Name, "iLogic")&lt;/SPAN&gt;
			
			&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;HARDWARE&lt;/SPAN&gt; = &lt;SPAN&gt;"OFF"&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
				&lt;SPAN&gt;oDerSolidBody&lt;/SPAN&gt;.&lt;SPAN&gt;Suppressed&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;
			&lt;SPAN&gt;ElseIf&lt;/SPAN&gt; &lt;SPAN&gt;HARDWARE&lt;/SPAN&gt; = &lt;SPAN&gt;"ON"&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
				&lt;SPAN&gt;oDerSolidBody&lt;/SPAN&gt;.&lt;SPAN&gt;Suppressed&lt;/SPAN&gt; = &lt;SPAN&gt;False&lt;/SPAN&gt;
			&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;	
			
		&lt;SPAN&gt;Next&lt;/SPAN&gt;
		&lt;SPAN&gt;'oDerSolidBodyName = InputListBox("Select one", oDerSolidBodyList, oDerSolidBodyName, Title := "Title", ListName := "Solid Body List")&lt;/SPAN&gt;
	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 04:42:56 GMT</pubDate>
    <dc:creator>A.Acheson</dc:creator>
    <dc:date>2021-04-29T04:42:56Z</dc:date>
    <item>
      <title>I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10244759#M50873</link>
      <description>&lt;P&gt;Is there a way to Turn on and off my Derived Part thru I-logic?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 15:46:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10244759#M50873</guid>
      <dc:creator>cwilliamson232RQ</dc:creator>
      <dc:date>2021-04-16T15:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10245411#M50874</link>
      <description>&lt;P&gt;Hi! I am sorry that I don't understand the request. You want to turn on/off a derived part in an assembly? Or, you want to turn on/off derived feature within the derived part? Or, you want to drive derive or not from the source part?&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 19:29:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10245411#M50874</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2021-04-16T19:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10245424#M50875</link>
      <description>&lt;P&gt;So I have a part and inside that Part I have a Derived Part called "BOLT". I created a Parameter called "HARDWARE" and it is a multi-value text with the values "ON" and "OFF". I can I make the I-Logic be able to Turn the Derived Part 'BOLT" to be ON and OFF.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 19:33:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10245424#M50875</guid>
      <dc:creator>cwilliamson232RQ</dc:creator>
      <dc:date>2021-04-16T19:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10245470#M50876</link>
      <description>&lt;P&gt;Hi! I think it is doable. You want to suppress, right? Are you trying to make Text parameter in an iPart?&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 19:56:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10245470#M50876</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2021-04-16T19:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10250711#M50877</link>
      <description>&lt;P&gt;Yes Suppress and Yes an IPart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 14:36:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10250711#M50877</guid>
      <dc:creator>cwilliamson232RQ</dc:creator>
      <dc:date>2021-04-19T14:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10252605#M50878</link>
      <description>&lt;P&gt;Can you attach an a simple part showing your workflow. There are a few ways to derive so we would need to target the way you are manually deriving at the moment in order to replicate. Controlling an iPart through the factory can be tricky due to the members needing to update. Derive should be easier. Here is some reading on derived parameters.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2021/ENU/?caas=caas/discussion/t5/Inventor-Customization/iLogic-User-Parameter-of-Derive-Part/td-p/9734828.html" target="_blank"&gt;https://help.autodesk.com/view/INVNTOR/2021/ENU/?caas=caas/discussion/t5/Inventor-Customization/iLogic-User-Parameter-of-Derive-Part/td-p/9734828.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 06:15:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10252605#M50878</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2021-04-20T06:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10253828#M50879</link>
      <description>&lt;P&gt;Here is a simple I-part with a Derived Part in it that I broke the Link.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 14:32:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10253828#M50879</guid>
      <dc:creator>cwilliamson232RQ</dc:creator>
      <dc:date>2021-04-20T14:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10253860#M50880</link>
      <description>&lt;P&gt;Here is a better Example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 14:42:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10253860#M50880</guid>
      <dc:creator>cwilliamson232RQ</dc:creator>
      <dc:date>2021-04-20T14:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10275142#M50881</link>
      <description>&lt;P&gt;Can you try the derived part with my test part i sent?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 13:22:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10275142#M50881</guid>
      <dc:creator>cwilliamson232RQ</dc:creator>
      <dc:date>2021-04-28T13:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10275145#M50882</link>
      <description>&lt;P&gt;How?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 13:22:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10275145#M50882</guid>
      <dc:creator>cwilliamson232RQ</dc:creator>
      <dc:date>2021-04-28T13:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10275514#M50883</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7945959"&gt;@cwilliamson232RQ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try this if I get a chance, hopefully other users have experience with this also. Is it a inv 2020 or earlier file? Otherwise I am out unfortunately.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 14:58:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10275514#M50883</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2021-04-28T14:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10275546#M50884</link>
      <description>&lt;P&gt;It is in Inventor 2020&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 15:05:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10275546#M50884</guid>
      <dc:creator>cwilliamson232RQ</dc:creator>
      <dc:date>2021-04-28T15:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10277268#M50885</link>
      <description>&lt;P&gt;I was able to turn off the derived part in this derived part you have attached.&amp;nbsp; Below is how this is achieved and I have included this in the attached part. Depending on how you are going to use this, it will need to be adapted, have you a larger end goal?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'https://forums.autodesk.com/t5/inventor-customization/ilogic-rule-to-include-exclude-derived-parameter-in-all-parts/td-p/8691196&lt;/SPAN&gt;

&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;.&lt;SPAN&gt;DocumentType&lt;/SPAN&gt; &amp;lt;&amp;gt; &lt;SPAN&gt;kPartDocumentObject&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
	&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"Make a Part Document the active document,Exiting"&lt;/SPAN&gt;, &lt;SPAN&gt;"iLogic"&lt;/SPAN&gt;) 
&lt;SPAN&gt;Else&lt;/SPAN&gt;
	
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerSolidBodyList&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;New&lt;/SPAN&gt; &lt;SPAN&gt;ArrayList&lt;/SPAN&gt;
	
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerPart&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartDocument&lt;/SPAN&gt;
	&lt;SPAN&gt;oDerPart&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;

	&lt;SPAN&gt;'Look for Derived part components&lt;/SPAN&gt;
	&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;oDerPart&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN&gt;DerivedPartComponents&lt;/SPAN&gt;.&lt;SPAN&gt;Count&lt;/SPAN&gt; &amp;lt; 1 &lt;SPAN&gt;Then&lt;/SPAN&gt;
		&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"No Derived Part Components in this part"&lt;/SPAN&gt;, &lt;SPAN&gt;"iLogic"&lt;/SPAN&gt;)   

	&lt;SPAN&gt;Else&lt;/SPAN&gt;
		&lt;SPAN&gt;' Set a reference to the part component definition&lt;/SPAN&gt;
		&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerPartCompDef&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartComponentDefinition&lt;/SPAN&gt;
		&lt;SPAN&gt;oDerPartCompDef&lt;/SPAN&gt; = &lt;SPAN&gt;oDerPart&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;
		
		&lt;SPAN&gt;'Get a reference to derived part components in this part&lt;/SPAN&gt;
		&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerPartComps&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DerivedPartComponents&lt;/SPAN&gt;
		&lt;SPAN&gt;oDerPartComps&lt;/SPAN&gt; = &lt;SPAN&gt;oDerPartCompDef&lt;/SPAN&gt;.&lt;SPAN&gt;ReferenceComponents&lt;/SPAN&gt;.&lt;SPAN&gt;DerivedPartComponents&lt;/SPAN&gt;
		
		&lt;SPAN&gt;'Get a reference to derived part component&lt;/SPAN&gt;
		&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerPartComp&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DerivedPartComponent&lt;/SPAN&gt;
		&lt;SPAN&gt;oDerPartComp&lt;/SPAN&gt; = &lt;SPAN&gt;oDerPartComps&lt;/SPAN&gt;(1)&lt;SPAN&gt;'1st component&lt;/SPAN&gt;
		
		&lt;SPAN&gt;' Derived part component by name&lt;/SPAN&gt;
		&lt;SPAN&gt;'MessageBox.Show(oDerPartComp.Name, "iLogic")&lt;/SPAN&gt;
		
		&lt;SPAN&gt;'ReferenceFeature objects 'Found in API Help searching solidbody&lt;/SPAN&gt;
		&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerSolidBodies&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;ReferenceFeaturesEnumerator&lt;/SPAN&gt;
		&lt;SPAN&gt;oDerSolidBodies&lt;/SPAN&gt; = &lt;SPAN&gt;oDerPartComp&lt;/SPAN&gt;.&lt;SPAN&gt;SolidBodies&lt;/SPAN&gt;
		
		&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerSolidBody&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;ReferenceFeature&lt;/SPAN&gt;
		
		&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oDerSolidBody&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oDerSolidBodies&lt;/SPAN&gt;
			&lt;SPAN&gt;'Add each solid body to array list&lt;/SPAN&gt;
			&lt;SPAN&gt;oDerSolidBodyList&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;oDerSolidBody&lt;/SPAN&gt;.&lt;SPAN&gt;Name&lt;/SPAN&gt;)
			&lt;SPAN&gt;'MessageBox.Show(oDerSolidBody.Name, "iLogic")&lt;/SPAN&gt;
			
			&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;HARDWARE&lt;/SPAN&gt; = &lt;SPAN&gt;"OFF"&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
				&lt;SPAN&gt;oDerSolidBody&lt;/SPAN&gt;.&lt;SPAN&gt;Suppressed&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;
			&lt;SPAN&gt;ElseIf&lt;/SPAN&gt; &lt;SPAN&gt;HARDWARE&lt;/SPAN&gt; = &lt;SPAN&gt;"ON"&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
				&lt;SPAN&gt;oDerSolidBody&lt;/SPAN&gt;.&lt;SPAN&gt;Suppressed&lt;/SPAN&gt; = &lt;SPAN&gt;False&lt;/SPAN&gt;
			&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;	
			
		&lt;SPAN&gt;Next&lt;/SPAN&gt;
		&lt;SPAN&gt;'oDerSolidBodyName = InputListBox("Select one", oDerSolidBodyList, oDerSolidBodyName, Title := "Title", ListName := "Solid Body List")&lt;/SPAN&gt;
	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 04:42:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10277268#M50885</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2021-04-29T04:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10292350#M50886</link>
      <description>&lt;P&gt;So seems this Suppresses ALL of my Derived parts. Is there a way to specify specific Derived Parts Only?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 14:04:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10292350#M50886</guid>
      <dc:creator>cwilliamson232RQ</dc:creator>
      <dc:date>2021-05-05T14:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10292468#M50887</link>
      <description>&lt;P&gt;This snippet targets the first derived component in your part, in your case the derived assembly by number but you could also type an occurence name. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'Get a reference to derived part component&lt;/SPAN&gt;
		&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerPartComp&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DerivedPartComponent&lt;/SPAN&gt;
		&lt;SPAN&gt;oDerPartComp&lt;/SPAN&gt; = &lt;SPAN&gt;oDerPartComps&lt;/SPAN&gt;(1)&lt;SPAN&gt;'1st component&lt;/SPAN&gt;
		
		&lt;SPAN&gt;' Derived part component by name&lt;/SPAN&gt;
		&lt;SPAN&gt;'MessageBox.Show(oDerPartComp.Name, "iLogic")&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your case you have multiple parts in a derived assembly so you would need to target the solid body by name or number with this snippet.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;oDerSolidBody.Name&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;So is it parts (solid body) in the derived assembly you need to target or just the main derived part? You could put the list of derived components and solid bodies in an array list box and deselect one by one what you don’t want/add what you do want. &amp;nbsp;This filtering will really depend how frequent you will use this rule and what you may need to filter.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 14:42:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10292468#M50887</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2021-05-05T14:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10292509#M50888</link>
      <description>&lt;P&gt;The array list might work best. So say I have 15 Derived parts but only 5 of those are going to be considered "HARDWARE" so I can turn those 5 on and off.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in that I-logic code you posted. Which lines are supposed to be COMMENTED out?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cwilliamson232RQ_0-1620226719242.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/915582i0801138BC101180E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cwilliamson232RQ_0-1620226719242.png" alt="cwilliamson232RQ_0-1620226719242.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So replace this name with&amp;nbsp;&lt;STRONG&gt;ASSY_Bolt_Carraige_0.375x1.ipt&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 15:01:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10292509#M50888</guid>
      <dc:creator>cwilliamson232RQ</dc:creator>
      <dc:date>2021-05-05T15:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10292524#M50889</link>
      <description>&lt;P&gt;Here is a updated part with a few more derived parts in it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 15:09:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10292524#M50889</guid>
      <dc:creator>cwilliamson232RQ</dc:creator>
      <dc:date>2021-05-05T15:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: I-Logic with Derived Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10296689#M50890</link>
      <description>&lt;P&gt;If the derived assembly components are not going to change name&amp;nbsp; run a filter like the below based on the occurrence name. I haven't tested this so hopefully there isn't any issues. There maybe other easiers ways.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'Get a reference to derived part component&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDerPartComp&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DerivedPartComponent&lt;/SPAN&gt;
Dim ExcludeList As New ArrayList&lt;BR /&gt;'add the exclusion occurance names here&lt;BR /&gt;ExcludeList.add (&lt;SPAN&gt;&lt;STRONG&gt;"ASSY_Bolt_Carraige_0.375x1.ipt")&lt;BR /&gt;'ExcludeList.add ("...............")&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;Dim &lt;SPAN&gt;oExcludePart As String&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;For Each oDerPartComp in oDerPartComps&lt;BR /&gt;   For Each oExcludePart in Excludelist&lt;BR /&gt;           'Remove this derived part from the search&lt;BR /&gt;            If Not&amp;nbsp;oDerPartComp.Name &lt;STRONG&gt;Then&lt;BR /&gt;             ...... Turn off solid bodies here&lt;BR /&gt;&lt;/STRONG&gt;            End IF&lt;BR /&gt;    Next&lt;BR /&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 04:10:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-logic-with-derived-parts/m-p/10296689#M50890</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2021-05-07T04:10:45Z</dc:date>
    </item>
  </channel>
</rss>

