<?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 change the color of the patient shirt? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-change-the-color-of-the-patient-shirt/m-p/13567763#M68851</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 19.1.1 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;A id="21803" href="https://answers.flexsim.com/storage/attachments/21803-21729-doctornotes.fsm"&gt;21729-doctornotes.fsm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In the Escort to Exam Table section of the attached program, I have an activity to change the patient's shirt collar to green to indicate that the patient is waiting for an exam room. Unfortunately, I don't understand the syntax of the command to do that. So I'm turning to the experts again.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 27 Aug 2019 14:50:06 GMT</pubDate>
    <dc:creator>tee_hiett</dc:creator>
    <dc:date>2019-08-27T14:50:06Z</dc:date>
    <item>
      <title>How do I change the color of the patient shirt?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-change-the-color-of-the-patient-shirt/m-p/13567763#M68851</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 19.1.1 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;A id="21803" href="https://answers.flexsim.com/storage/attachments/21803-21729-doctornotes.fsm"&gt;21729-doctornotes.fsm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In the Escort to Exam Table section of the attached program, I have an activity to change the patient's shirt collar to green to indicate that the patient is waiting for an exam room. Unfortunately, I don't understand the syntax of the command to do that. So I'm turning to the experts again.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 14:50:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-change-the-color-of-the-patient-shirt/m-p/13567763#M68851</guid>
      <dc:creator>tee_hiett</dc:creator>
      <dc:date>2019-08-27T14:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the color of the patient shirt?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-change-the-color-of-the-patient-shirt/m-p/13567764#M68852</link>
      <description>&lt;P&gt;You're doing everything right, you're just being affected by an oversight we made when we first released 19.1. When we first released, all of the people's clothes used their own colors and none of them used the object's color. In 19.1.1 we updated it so all the shirts use the object's color rather than their own color, but models started in 19.1.0 (like yours) still have shirts using their own color. &lt;/P&gt;&lt;P&gt;Luckily it's not too hard to set the shirt to use the object's color and I did it for you in the attached model. &lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/attachments/21952-doctornotes-colorshirt.fsm"&gt;doctornotes-colorshirt.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To change that setting expand the FlowItem Bin in the Toolbox and double click on Patient. Find the Shirt field in the Person Visuals panel and click the drop down arrow button. Then check the Use Object Color checkbox in the popup.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21953-changeshirtcolor.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1500033i0F4C124EE1434E66/image-size/large?v=v2&amp;amp;px=999" role="button" title="21953-changeshirtcolor.png" alt="21953-changeshirtcolor.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That checkbox should be checked for people's shirts in all models made in 19.1.1 or later so you shouldn't have to do this step just to change a shirt color. However, you could do these same steps to make other parts of the person's clothing use the object color too.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 22:36:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-change-the-color-of-the-patient-shirt/m-p/13567764#M68852</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2019-08-30T22:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the color of the patient shirt?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-change-the-color-of-the-patient-shirt/m-p/13567765#M68853</link>
      <description>&lt;P&gt;Thanks, Matthew. Works like a charm. Also good additional information. &lt;/P&gt;
&lt;P&gt;Just out of curiosity, what would be the syntax of a command just to change the color of the shirt?&lt;/P&gt;
&lt;P&gt;Tee&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 15:25:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-change-the-color-of-the-patient-shirt/m-p/13567765#M68853</guid>
      <dc:creator>tee_hiett</dc:creator>
      <dc:date>2019-09-03T15:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the color of the patient shirt?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-change-the-color-of-the-patient-shirt/m-p/13567766#M68854</link>
      <description>&lt;P&gt;If the shirt has the Use Object Color box checked you can just set the object's color:&lt;/P&gt;&lt;PRE&gt;patient.as(Object).color = Color.red;&lt;/PRE&gt;&lt;P&gt;Otherwise you need to use the changepersonvisuals() command. This command lets you change anything that you can change in that Person Visuals panel in Quick Properties:&lt;/P&gt;&lt;PRE&gt;changepersonvisuals(patient, "Shirt", 2, Color.red);&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;The second parameter is the category you want to change (Head, Skin, Shirt, Pants, Hair, Shoes, Glasses, Gacial Hair, or Gloves) and the third parameter is the index of the type of that category you want to set it to (e.g. for the Man under the Shirt category a 1 is the Tee shirt, 2 is the Athletic shirt, 3 is the Leather Jacket, etc.)&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 17:20:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-do-i-change-the-color-of-the-patient-shirt/m-p/13567766#M68854</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2019-09-03T17:20:52Z</dc:date>
    </item>
  </channel>
</rss>

