<?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: Change imported model color of .dae file in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/change-imported-model-color-of-dae-file/m-p/13600285#M94176</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can change the diffuse color in the object's attribute tree (command "setsdtvalue()").&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="capture1.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527286i054E52798C300631/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture1.png" alt="capture1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Though it would be simpler to make the mesh use the object and then change that.&lt;/P&gt;&lt;PRE&gt;Object myObject = ...;&lt;BR /&gt;myObject.color = Color(r, g, b, a);&lt;/PRE&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 22 Apr 2025 11:30:07 GMT</pubDate>
    <dc:creator>moehlmann_fe</dc:creator>
    <dc:date>2025-04-22T11:30:07Z</dc:date>
    <item>
      <title>Change imported model color of .dae file</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/change-imported-model-color-of-dae-file/m-p/13600284#M94175</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 25.0.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;I did a research to change my "Processor" color according to my global table STATUS from flexsim. However, I have quite a number of 'Processor' imported from different design models (.dae file) instead of build in "Fixed Resources" from FlexSim. &lt;/P&gt;
 &lt;P&gt;This is what I have figured out by changing the those 'Processors' color by clicking &lt;/P&gt;
 &lt;P&gt; 1) Click on 'Processor1' (WDC_199) &lt;/P&gt;
 &lt;P&gt; 2) Visuals &amp;gt; More Visuals &lt;/P&gt;
 &lt;P&gt; 3) Customize the meshes in the selected 3D shape &lt;/P&gt;
 &lt;P&gt; 4) Mesh &amp;gt; 'ID6' &lt;/P&gt;
 &lt;P&gt; 5) Check 'Override' and select color from 'Diffuse color'&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1745315502459.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527288iAB6DFD7067F19FE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="1745315502459.png" alt="1745315502459.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;By using this model (model1.dae), now I want to integrate the color change by reading my global table as the data will be changing from time to time via process flow. Different "STATE" of the EQPID will have different colors. I have a custom code in my process flow to read my global table every 10 seconds.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1745315689779.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527289i2701FF4DE3615DA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="1745315689779.png" alt="1745315689779.png" /&gt;&lt;/span&gt;I would like to get advise on how should I achieve this requirement? Your guidance would be much appreciate. Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/91981-color-change.fsm" target="_blank"&gt;Color Change.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/91982-model1.dae" target="_blank"&gt;model1.dae&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Apr 2025 09:59:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/change-imported-model-color-of-dae-file/m-p/13600284#M94175</guid>
      <dc:creator>jeffrey_lee-ext</dc:creator>
      <dc:date>2025-04-22T09:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change imported model color of .dae file</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/change-imported-model-color-of-dae-file/m-p/13600285#M94176</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can change the diffuse color in the object's attribute tree (command "setsdtvalue()").&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="capture1.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527286i054E52798C300631/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture1.png" alt="capture1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Though it would be simpler to make the mesh use the object and then change that.&lt;/P&gt;&lt;PRE&gt;Object myObject = ...;&lt;BR /&gt;myObject.color = Color(r, g, b, a);&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Apr 2025 11:30:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/change-imported-model-color-of-dae-file/m-p/13600285#M94176</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-04-22T11:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Change imported model color of .dae file</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/change-imported-model-color-of-dae-file/m-p/13600286#M94177</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Actually I have tried a number methods and flexscript to change the color of imported model but none of them work in imported model. Do you mind to show an example of flexscript via the process flow?&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Apr 2025 01:52:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/change-imported-model-color-of-dae-file/m-p/13600286#M94177</guid>
      <dc:creator>jeffrey_lee-ext</dc:creator>
      <dc:date>2025-04-23T01:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Change imported model color of .dae file</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/change-imported-model-color-of-dae-file/m-p/13600287#M94178</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/91997-color-change-1.fsm" target="_blank"&gt;color-change-1.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here's an example that uses the object color.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Apr 2025 06:08:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/change-imported-model-color-of-dae-file/m-p/13600287#M94178</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-04-23T06:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Change imported model color of .dae file</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/change-imported-model-color-of-dae-file/m-p/13600288#M94179</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi Felix, I have read through the file and finally understand how it works. I successfully manipulated and achieved the same output file as yours. I had been researching and trying different approaches for a few days. You are my savior. Thank you!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Apr 2025 07:18:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/change-imported-model-color-of-dae-file/m-p/13600288#M94179</guid>
      <dc:creator>jeffrey_lee-ext</dc:creator>
      <dc:date>2025-04-23T07:18:03Z</dc:date>
    </item>
  </channel>
</rss>

