<?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: Appearance of model dissapears after importing or exporting it in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/appearance-of-model-dissapears-after-importing-or-exporting-it/m-p/11800675#M149765</link>
    <description>&lt;P&gt;You change the Appearance of the Motor &lt;STRONG&gt;in this IAM only&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;It is like painting the Motor inside this assembly.&lt;/P&gt;&lt;P&gt;You have to take the Motor itself and paint it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Access the Motor-file&lt;/STRONG&gt; and change the Apperance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;</description>
    <pubDate>Mon, 06 Mar 2023 08:29:04 GMT</pubDate>
    <dc:creator>raith-mb</dc:creator>
    <dc:date>2023-03-06T08:29:04Z</dc:date>
    <item>
      <title>Appearance of model dissapears after importing or exporting it</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/appearance-of-model-dissapears-after-importing-or-exporting-it/m-p/11795638#M149721</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I configure a motor in a assembly and change the appearance by using;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim oDoc As AssemblyDocument = ThisDoc.Document
Dim oAssetDef As Asset = oDoc.Assets.Item("Default")

For Each oOcc In oACD.Occurrences
oACD.Occurrences.ItemByName("Name").Appearance = oAssetDef
Next&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This results in the desired appearance;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daan_M_0-1677839410280.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1184087iCB2AF5016C40EA5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daan_M_0-1677839410280.png" alt="Daan_M_0-1677839410280.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when i&amp;nbsp; place this motor inside a new assembly, or export this as .STP and open it again, it keeps the old appearance;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daan_M_1-1677839499943.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1184088iB6C7812DCA381707/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daan_M_1-1677839499943.png" alt="Daan_M_1-1677839499943.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i make sure it keeps the default looks, also when exporting it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 10:49:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/appearance-of-model-dissapears-after-importing-or-exporting-it/m-p/11795638#M149721</guid>
      <dc:creator>Daan_M</dc:creator>
      <dc:date>2023-03-03T10:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Appearance of model dissapears after importing or exporting it</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/appearance-of-model-dissapears-after-importing-or-exporting-it/m-p/11800579#M149763</link>
      <description>&lt;P&gt;Bump&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 07:34:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/appearance-of-model-dissapears-after-importing-or-exporting-it/m-p/11800579#M149763</guid>
      <dc:creator>Daan_M</dc:creator>
      <dc:date>2023-03-06T07:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Appearance of model dissapears after importing or exporting it</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/appearance-of-model-dissapears-after-importing-or-exporting-it/m-p/11800675#M149765</link>
      <description>&lt;P&gt;You change the Appearance of the Motor &lt;STRONG&gt;in this IAM only&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;It is like painting the Motor inside this assembly.&lt;/P&gt;&lt;P&gt;You have to take the Motor itself and paint it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Access the Motor-file&lt;/STRONG&gt; and change the Apperance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 08:29:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/appearance-of-model-dissapears-after-importing-or-exporting-it/m-p/11800675#M149765</guid>
      <dc:creator>raith-mb</dc:creator>
      <dc:date>2023-03-06T08:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Appearance of model dissapears after importing or exporting it</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/appearance-of-model-dissapears-after-importing-or-exporting-it/m-p/11800725#M149766</link>
      <description>&lt;P&gt;These motors are assembled out of 5+ parts inside an assembly.&lt;/P&gt;&lt;P&gt;If i understand correcly i would have to go inside the individual partfiles and change their material and or appearance?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is i have about 1200 possible partfiles that can be used to configure a motor.&lt;/P&gt;&lt;P&gt;I don't want to go into each partfile and change it, there must be an automated way to do so from within my assembly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 09:04:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/appearance-of-model-dissapears-after-importing-or-exporting-it/m-p/11800725#M149766</guid>
      <dc:creator>Daan_M</dc:creator>
      <dc:date>2023-03-06T09:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Appearance of model dissapears after importing or exporting it</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/appearance-of-model-dissapears-after-importing-or-exporting-it/m-p/11800795#M149768</link>
      <description>&lt;P&gt;Sure you can do this from the main IAM.&lt;/P&gt;&lt;P&gt;But you have to "target" the 5 IPTs inside the Motor-IAM.&lt;/P&gt;&lt;P&gt;For each IPT change the Apperance and save the IPT.&lt;/P&gt;&lt;P&gt;But each time you have a new configuration with one of your 2000 Motor parts you did not have before, you have to run your function ones again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other way: If you have all different IPTs in one folder, you could put the IPTs into a IAM, change all Apperances and save the IPTs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 09:37:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/appearance-of-model-dissapears-after-importing-or-exporting-it/m-p/11800795#M149768</guid>
      <dc:creator>raith-mb</dc:creator>
      <dc:date>2023-03-06T09:37:30Z</dc:date>
    </item>
  </channel>
</rss>

