<?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 How do I make sure the queue changes color according to the number I have implemented and how do I show the status for the color if I change the queue to an model? (File attached) in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514378#M26716</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim (other) ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hi, from the title and from the file I had attached, I have 2 question to ask. &lt;/P&gt;
&lt;P&gt;Firstly, is it possible to have the queue change color according to code I had done in Queue 2 under 'On Exit'.&lt;/P&gt;
&lt;P&gt;As I would like the queue to have the green color on 15(on exact), yellow at 10 and red on 5, the first time I play the simulation, it would work. However, after the first round(meaning when it reaches 0 as I batch the queue), when it is at 15, it is still red. Only when it is at 14, it would change back to green.&lt;/P&gt;
&lt;P&gt;Secondly, how do I show the status of the &lt;STRONG&gt;color &lt;/STRONG&gt;queue if I change the queue to a model? &lt;/P&gt;
&lt;P&gt;I am aware that the color does not work when I change the queue to a model. So is there a way to show the color status (Like a billboard or text). Meaning, I would want the billboard to show green instead of the content.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2016 01:38:45 GMT</pubDate>
    <dc:creator>reina_hanazo</dc:creator>
    <dc:date>2016-08-22T01:38:45Z</dc:date>
    <item>
      <title>How do I make sure the queue changes color according to the number I have implemented and how do I show the status for the color if I change the queue to an model? (File attached)</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514378#M26716</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim (other) ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hi, from the title and from the file I had attached, I have 2 question to ask. &lt;/P&gt;
&lt;P&gt;Firstly, is it possible to have the queue change color according to code I had done in Queue 2 under 'On Exit'.&lt;/P&gt;
&lt;P&gt;As I would like the queue to have the green color on 15(on exact), yellow at 10 and red on 5, the first time I play the simulation, it would work. However, after the first round(meaning when it reaches 0 as I batch the queue), when it is at 15, it is still red. Only when it is at 14, it would change back to green.&lt;/P&gt;
&lt;P&gt;Secondly, how do I show the status of the &lt;STRONG&gt;color &lt;/STRONG&gt;queue if I change the queue to a model? &lt;/P&gt;
&lt;P&gt;I am aware that the color does not work when I change the queue to a model. So is there a way to show the color status (Like a billboard or text). Meaning, I would want the billboard to show green instead of the content.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 01:38:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514378#M26716</guid>
      <dc:creator>reina_hanazo</dc:creator>
      <dc:date>2016-08-22T01:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make sure the queue changes color according to the number I have implemented and how do I show the status for the color if I change the queue to an model? (File attached)</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514379#M26717</link>
      <description>&lt;P&gt;hi Reina my suggestion on your question is u have given == so when the item count is equal to the given it will change so instead of == u could try &amp;lt;= or &amp;gt;=so th colour can changes according to ur need&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 06:03:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514379#M26717</guid>
      <dc:creator>sesha_gopalan_ravi_kumar</dc:creator>
      <dc:date>2016-08-22T06:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make sure the queue changes color according to the number I have implemented and how do I show the status for the color if I change the queue to an model? (File attached)</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514380#M26718</link>
      <description>&lt;P&gt;Hi Sesha, I tried your method but it doesn't seems to work. &lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 07:03:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514380#M26718</guid>
      <dc:creator>reina_hanazo</dc:creator>
      <dc:date>2016-08-22T07:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make sure the queue changes color according to the number I have implemented and how do I show the status for the color if I change the queue to an model? (File attached)</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514381#M26719</link>
      <description>&lt;P&gt;Hi Reina, the behavior you are describing is correct because you only use the onexit. So once the queue reaches red it will not change the color until something leaves again. So if you want that it changes back to yellow and to green you also have to write your code on the onentry.&lt;/P&gt;&lt;P&gt;Concerning your coding itself. you write 3 times treenode object = current; but current is already the correct pointer so only colorgreen( current ) etc. would be sufficient.&lt;/P&gt;&lt;P&gt;to show the status, I think the easiest way is when you change the color, also set a label with the right status and show that label in either a bilboard or a text object.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 08:41:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514381#M26719</guid>
      <dc:creator>SCHamoen</dc:creator>
      <dc:date>2016-08-22T08:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make sure the queue changes color according to the number I have implemented and how do I show the status for the color if I change the queue to an model? (File attached)</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514382#M26720</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/641/reina.h.html" nodeid="641"&gt;@Reina Hanazo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Attached is your model with the changes that I've made.  I added code to the OnEntry trigger of Queue2 and changed the OnExit trigger code.&lt;/P&gt;&lt;P&gt;I changed the code in your Color Stat: display code to change color the same as the queue is doing.  I'm not sure if this is the answer to your second question or not.  Because I'm not sure what you are asking in your second question.  If this is not the answer, could you please give more information about what you want the model to do.&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/attachments/2045-color-queue.fsm"&gt;color-queue.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 18:14:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514382#M26720</guid>
      <dc:creator>jeff_nordgren</dc:creator>
      <dc:date>2016-08-22T18:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make sure the queue changes color according to the number I have implemented and how do I show the status for the color if I change the queue to an model? (File attached)</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514383#M26721</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/187/jeff.n.html" nodeid="187"&gt;@Jeff Nordgren&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Hi Jeff, thank you so much for the help. This is what I am looking for. For the second part, what you did was correct. &lt;/P&gt;
&lt;P&gt;Thank you once again for the help.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 03:28:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514383#M26721</guid>
      <dc:creator>reina_hanazo</dc:creator>
      <dc:date>2016-08-23T03:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make sure the queue changes color according to the number I have implemented and how do I show the status for the color if I change the queue to an model? (File attached)</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514384#M26722</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/641/reina.h.html" nodeid="641"&gt;@Reina Hanazo&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Made one small change to the code in the Text7 object's code.  I noticed that after a model Reset, the first time through, it was not displaying the green text at the beginning.  So I fixed that.&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/temp/2062-color-queue-jn1.fsm"&gt;color-queue-jn1.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 16:50:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-make-sure-the-queue-changes-color-according-to-the/m-p/13514384#M26722</guid>
      <dc:creator>jeff_nordgren</dc:creator>
      <dc:date>2016-08-23T16:50:35Z</dc:date>
    </item>
  </channel>
</rss>

