<?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 Appearance of all occurrences in an Assembly in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-appearance-of-all-occurrences-in-an-assembly/m-p/9739428#M115721</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1755553"&gt;@fce&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Those are actually two different things (iam and ipt). For an iam, the appearance shown in that dropdown is the appearance set to the selected occurrence in that assembly. The appearance in the document can be something else. So an assembly document in itself can't have an active appearance, only the occurrences of that assembly.&lt;/P&gt;&lt;P&gt;Do I make any sense to you? &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@F982DDE76110C67DBDB6AF220B48480A/emoticons/1f604.png" alt=":grinning_face_with_smiling_eyes:" title=":grinning_face_with_smiling_eyes:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code however will give you the active appearance of all parts &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsmDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAppearances&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"Appearances:"&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;vbCrLf&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRefDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsmDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AllReferencedDocuments&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRefDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentType&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPartDocumentObject&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAppearance&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;DirectCast&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oRefDoc&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;ActiveAppearance&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DisplayName&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;oAppearances&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAppearances&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;vbCrLf&lt;/SPAN&gt; &amp;amp;  &lt;SPAN style="color: #800000;"&gt;oRefDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DisplayName&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;"	"&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;oAppearance&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;			
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Show&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oAppearances&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Appearance list"&lt;/SPAN&gt;)&lt;/PRE&gt;</description>
    <pubDate>Thu, 10 Sep 2020 08:12:33 GMT</pubDate>
    <dc:creator>JhoelForshav</dc:creator>
    <dc:date>2020-09-10T08:12:33Z</dc:date>
    <item>
      <title>iLogic Appearance of all occurrences in an Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-appearance-of-all-occurrences-in-an-assembly/m-p/9731442#M115701</link>
      <description>&lt;P&gt;Hello there,&lt;BR /&gt;&lt;BR /&gt;I would like to open each occurrence in an already open top assembly and get each appearance as a string.&lt;BR /&gt;I'm aware that the command "iProperties.PartColor" allows you to get the Appearance, but it's not working running from the top assembly. I'm probably just missing a simple function. Bellow you can find the code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oAsmDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;AssemblyDocument&lt;/SPAN&gt;
&lt;SPAN&gt;oAsmDoc&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;
&lt;SPAN&gt;oAsmName&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;FileName&lt;/SPAN&gt;(&lt;SPAN&gt;False&lt;/SPAN&gt;) &lt;SPAN&gt;'without extension&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oRefDocs&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DocumentsEnumerator&lt;/SPAN&gt;
&lt;SPAN&gt;oRefDocs&lt;/SPAN&gt; = &lt;SPAN&gt;oAsmDoc&lt;/SPAN&gt;.&lt;SPAN&gt;AllReferencedDocuments&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oRefDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Document&lt;/SPAN&gt;
&lt;SPAN&gt;'work the referenced models&lt;/SPAN&gt;

&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oRefDoc&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oRefDocs&lt;/SPAN&gt;
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oCurFile&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Document&lt;/SPAN&gt;
    &lt;SPAN&gt;oCurFile&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;Documents&lt;/SPAN&gt;.&lt;SPAN&gt;Open&lt;/SPAN&gt;(&lt;SPAN&gt;oRefDoc&lt;/SPAN&gt;.&lt;SPAN&gt;FullFileName&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;)
	
			&lt;SPAN&gt;oCurFileAppearance&lt;/SPAN&gt; = &lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;PartColor&lt;/SPAN&gt;
			&lt;SPAN&gt;'oCurFileAppearance= oCurFile.Definition.Document.ActiveRenderStyle&lt;/SPAN&gt;
			&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;oCurFileAppearance&lt;/SPAN&gt;, &lt;SPAN&gt;"oCurFileAppearance"&lt;/SPAN&gt;)
			&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;oCurFileAppearance&lt;/SPAN&gt; = &lt;SPAN&gt;"-"&lt;/SPAN&gt;
			&lt;SPAN&gt;oCurFileAppearance&lt;/SPAN&gt; =&lt;SPAN&gt;"-"&lt;/SPAN&gt;
			&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
&lt;SPAN&gt;'			MessageBox.Show(oCurFileAppearance, "oCurFileAppearance")&lt;/SPAN&gt;
&lt;SPAN&gt;oCurFile&lt;/SPAN&gt;.&lt;SPAN&gt;Close&lt;/SPAN&gt;		
			
&lt;SPAN&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2020 18:52:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-appearance-of-all-occurrences-in-an-assembly/m-p/9731442#M115701</guid>
      <dc:creator>fce</dc:creator>
      <dc:date>2020-09-05T18:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Appearance of all occurrences in an Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-appearance-of-all-occurrences-in-an-assembly/m-p/9739274#M115710</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1755553"&gt;@fce&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to make sure - Do you want the appearance of the document or the occurrence?, beacuase those are not always the same &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 07:03:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-appearance-of-all-occurrences-in-an-assembly/m-p/9739274#M115710</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-09-10T07:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Appearance of all occurrences in an Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-appearance-of-all-occurrences-in-an-assembly/m-p/9739374#M115717</link>
      <description>&lt;P&gt;Good question. I would like to get the appearance of each ipt. and .iam opened in the "For" cycle.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;oCurFile&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;Documents&lt;/SPAN&gt;.&lt;SPAN&gt;Open&lt;/SPAN&gt;(&lt;SPAN&gt;oRefDoc&lt;/SPAN&gt;.&lt;SPAN&gt;FullFileName&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;The appearance that shows on the top of Inventor WIndow.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 07:46:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-appearance-of-all-occurrences-in-an-assembly/m-p/9739374#M115717</guid>
      <dc:creator>fce</dc:creator>
      <dc:date>2020-09-10T07:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Appearance of all occurrences in an Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-appearance-of-all-occurrences-in-an-assembly/m-p/9739428#M115721</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1755553"&gt;@fce&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Those are actually two different things (iam and ipt). For an iam, the appearance shown in that dropdown is the appearance set to the selected occurrence in that assembly. The appearance in the document can be something else. So an assembly document in itself can't have an active appearance, only the occurrences of that assembly.&lt;/P&gt;&lt;P&gt;Do I make any sense to you? &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@F982DDE76110C67DBDB6AF220B48480A/emoticons/1f604.png" alt=":grinning_face_with_smiling_eyes:" title=":grinning_face_with_smiling_eyes:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code however will give you the active appearance of all parts &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsmDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAppearances&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"Appearances:"&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;vbCrLf&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRefDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsmDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AllReferencedDocuments&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRefDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentType&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPartDocumentObject&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAppearance&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;DirectCast&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oRefDoc&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;ActiveAppearance&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DisplayName&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;oAppearances&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAppearances&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;vbCrLf&lt;/SPAN&gt; &amp;amp;  &lt;SPAN style="color: #800000;"&gt;oRefDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DisplayName&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;"	"&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;oAppearance&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;			
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Show&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oAppearances&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Appearance list"&lt;/SPAN&gt;)&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Sep 2020 08:12:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-appearance-of-all-occurrences-in-an-assembly/m-p/9739428#M115721</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-09-10T08:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Appearance of all occurrences in an Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-appearance-of-all-occurrences-in-an-assembly/m-p/9739554#M115727</link>
      <description>&lt;P&gt;Nice, it worked perfectly. Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 09:23:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-appearance-of-all-occurrences-in-an-assembly/m-p/9739554#M115727</guid>
      <dc:creator>fce</dc:creator>
      <dc:date>2020-09-10T09:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic Appearance of all occurrences in an Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-appearance-of-all-occurrences-in-an-assembly/m-p/11104838#M136758</link>
      <description>&lt;P&gt;Thanks for sharing that example. I'm attempting to modify the loop so that it can change all the colours within an Assembly at the Part level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My initial attempt simply re-named the active Color within the Part but unfortunately didn't change the Colours appearance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oRefDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Document&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oAsmDoc&lt;/SPAN&gt;.&lt;SPAN&gt;AllReferencedDocuments&lt;/SPAN&gt;
	&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;oRefDoc&lt;/SPAN&gt;.&lt;SPAN&gt;DocumentType&lt;/SPAN&gt; = &lt;SPAN&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kPartDocumentObject&lt;/SPAN&gt;
		&lt;SPAN&gt;DirectCast&lt;/SPAN&gt;(&lt;SPAN&gt;oRefDoc&lt;/SPAN&gt;, &lt;SPAN&gt;PartDocument&lt;/SPAN&gt;).&lt;SPAN&gt;ActiveAppearance&lt;/SPAN&gt;.&lt;SPAN&gt;DisplayName&lt;/SPAN&gt; = &lt;SPAN&gt;"Cyan"&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;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the likes of Component.Color only creates an assembly appearance overide on the active view rep, which is why I can't use the below;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Component&lt;/SPAN&gt;.&lt;SPAN&gt;Color&lt;/SPAN&gt;(&lt;SPAN&gt;"Example_Part:1"&lt;/SPAN&gt;) = &lt;SPAN&gt;"Red"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Would appreciate any help on having assembly level iLogic code change a parts Appearance at the part level.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 23:16:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-appearance-of-all-occurrences-in-an-assembly/m-p/11104838#M136758</guid>
      <dc:creator>_KarlH</dc:creator>
      <dc:date>2022-04-13T23:16:13Z</dc:date>
    </item>
  </channel>
</rss>

