<?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: Set color by case in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502241#M17170</link>
    <description>&lt;P&gt;Oh ok. I think I understand now. The way I would do it is add a small flow to your process flow. See the attachment in box "final batch color". &lt;/P&gt;&lt;P&gt;When the item exits the processor, if it's red the token will go to "Do Nothing" and if it's not red it will go to "Custom Code". The "Custom Code" has the same logic... if Type =1 then color yellow, if Type = 2 color aqua. This way the red items are not changed. &lt;/P&gt;&lt;P&gt;Also I added a "Color" label to the item on the processor exit trigger. &lt;A id="11030" href="https://answers.flexsim.com/storage/temp/11030-11008-simulation-model-with-batches-4-12m03-solved.fsm"&gt;11008-simulation-model-with-batches-4-12m03-solved.fsm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Mar 2018 14:17:48 GMT</pubDate>
    <dc:creator>kari_payton</dc:creator>
    <dc:date>2018-03-13T14:17:48Z</dc:date>
    <item>
      <title>Set color by case</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502233#M17162</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 17.0.12 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;How can I set the color of an part? &lt;/P&gt;
&lt;P&gt;I have a processor and I would change the color of the part (on exit of the processor) according to a percentage. Red for the 95% of components, Orange for the remaining 5%. So I want assign a label to that object according to the color because, at the end, I have to perform a separation.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="11003-color.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1496744i1B3361F3B93448CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="11003-color.png" alt="11003-color.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks for the support&lt;/P&gt;
&lt;P&gt;Daniele&lt;/P&gt;
&lt;P&gt;&lt;A id="11004" href="https://answers.flexsim.com/storage/attachments/11004-simulation-model-with-batches-color.fsm"&gt;simulation-model-with-batches-color.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 12:50:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502233#M17162</guid>
      <dc:creator>daniele_s</dc:creator>
      <dc:date>2018-03-12T12:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set color by case</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502234#M17163</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/5942/danieles.html" nodeid="5942"&gt;@Daniele S&lt;/A&gt; change the value on your "Set Color by Case" trigger to item.Type.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="11005-set-color-by-case.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1496737i0E4075A6111F98A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="11005-set-color-by-case.png" alt="11005-set-color-by-case.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 13:00:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502234#M17163</guid>
      <dc:creator>kari_payton</dc:creator>
      <dc:date>2018-03-12T13:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set color by case</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502235#M17164</link>
      <description>&lt;P&gt;thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But the question is a bit different.&lt;/P&gt;
&lt;P&gt;In this way I have changed only the color, and no kind of label had been assigned to the object.&lt;/P&gt;
&lt;P&gt;For example: Suppose that now I have two processors; one for the polishing and a second one for the washing operation. Each process has a fixed percentage of wastes (which is known). Each waste exits from the processor with a different color with respect a ''good'' component. Red is the color I choose for wastes from the first machine (Cerclage) and Acqua for the second one (Lessiviel). &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="11006-color2.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1496738i8D4C47837AC594CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="11006-color2.png" alt="11006-color2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Whenever a component enters inside the second machine, its color is changed. So, at the end, on the final batch, I will never find a red component. This happens because, if it was red, its color is changed in yellow or Acqua.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="11007-color3.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1496739i5A33249DD245EC1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="11007-color3.png" alt="11007-color3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How can I solve this problem?&lt;/P&gt;
&lt;P&gt;&lt;A id="11008" href="https://answers.flexsim.com/storage/attachments/11008-simulation-model-with-batches-4-12m03.fsm"&gt;simulation-model-with-batches-4-12m03.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 13:09:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502235#M17164</guid>
      <dc:creator>daniele_s</dc:creator>
      <dc:date>2018-03-12T13:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set color by case</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502236#M17165</link>
      <description>&lt;P&gt;You can assign instead of a single label value an array. Each time you change the value of a color, you add a value to the array in front of the array. At the end of the process you evaluate the array. &lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 15:21:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502236#M17165</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2018-03-12T15:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set color by case</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502237#M17166</link>
      <description>&lt;P&gt;So you want to keep the red ones from changing? I don't understand the issue. &lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 17:09:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502237#M17166</guid>
      <dc:creator>kari_payton</dc:creator>
      <dc:date>2018-03-12T17:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set color by case</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502238#M17167</link>
      <description>&lt;P&gt;I want to keep the red color. &lt;/P&gt;
&lt;P&gt;Briefly: I want to see the damaged component during the entire process.&lt;/P&gt;
&lt;P&gt;If the component is damaged at the first station, it is colored with red (because I choose the red color for the first station). If another process damages the same component, i will change its color (according to the color I of that workstation). If the component is not damaged, it does not change color&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 17:19:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502238#M17167</guid>
      <dc:creator>daniele_s</dc:creator>
      <dc:date>2018-03-12T17:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set color by case</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502239#M17168</link>
      <description>&lt;P&gt;Could you give an example (with Flexsim)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 17:20:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502239#M17168</guid>
      <dc:creator>daniele_s</dc:creator>
      <dc:date>2018-03-12T17:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set color by case</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502240#M17169</link>
      <description>&lt;P&gt;Here is a sample. Please look into the triggers of the objects.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 10:43:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502240#M17169</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2018-03-13T10:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set color by case</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502241#M17170</link>
      <description>&lt;P&gt;Oh ok. I think I understand now. The way I would do it is add a small flow to your process flow. See the attachment in box "final batch color". &lt;/P&gt;&lt;P&gt;When the item exits the processor, if it's red the token will go to "Do Nothing" and if it's not red it will go to "Custom Code". The "Custom Code" has the same logic... if Type =1 then color yellow, if Type = 2 color aqua. This way the red items are not changed. &lt;/P&gt;&lt;P&gt;Also I added a "Color" label to the item on the processor exit trigger. &lt;A id="11030" href="https://answers.flexsim.com/storage/temp/11030-11008-simulation-model-with-batches-4-12m03-solved.fsm"&gt;11008-simulation-model-with-batches-4-12m03-solved.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 14:17:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case/m-p/13502241#M17170</guid>
      <dc:creator>kari_payton</dc:creator>
      <dc:date>2018-03-13T14:17:48Z</dc:date>
    </item>
  </channel>
</rss>

