<?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: Access to state of a location in people object in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/access-to-state-of-a-location-in-people-object/m-p/13592549#M88107</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Could you explain further what do you mean by that? Do you mean &lt;SPAN id="isPasted" style="color: rgb(51, 51, 51); font-family: "&gt;&lt;STRONG&gt;Model.find("Plane1/DrinksStation").as(Object).stats.state(1).value&lt;/STRONG&gt; like this?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 27 Jun 2023 13:32:28 GMT</pubDate>
    <dc:creator>miyeDP27D</dc:creator>
    <dc:date>2023-06-27T13:32:28Z</dc:date>
    <item>
      <title>Access to state of a location in people object</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/access-to-state-of-a-location-in-people-object/m-p/13592547#M88105</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.1.2 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello, I like to ask how do I access the state of the location object to use it in decide activity? I tried Model.find("Plane1/DrinksStation").as(Object).stats.state().value == 1 but it does not work. I tried calling it with the stringvalue, but it still doesnt work. Please can anyone help?&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1687871818879.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1517883i8D7988F55DD5CE21/image-size/large?v=v2&amp;amp;px=999" role="button" title="1687871818879.png" alt="1687871818879.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Jun 2023 13:17:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/access-to-state-of-a-location-in-people-object/m-p/13592547#M88105</guid>
      <dc:creator>miyeDP27D</dc:creator>
      <dc:date>2023-06-27T13:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Access to state of a location in people object</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/access-to-state-of-a-location-in-people-object/m-p/13592548#M88106</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;It looks like you need to pass in the state profile rank into the state() method  - so for Availability that would be 1.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Jun 2023 13:26:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/access-to-state-of-a-location-in-people-object/m-p/13592548#M88106</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-06-27T13:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Access to state of a location in people object</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/access-to-state-of-a-location-in-people-object/m-p/13592549#M88107</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Could you explain further what do you mean by that? Do you mean &lt;SPAN id="isPasted" style="color: rgb(51, 51, 51); font-family: "&gt;&lt;STRONG&gt;Model.find("Plane1/DrinksStation").as(Object).stats.state(1).value&lt;/STRONG&gt; like this?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Jun 2023 13:32:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/access-to-state-of-a-location-in-people-object/m-p/13592549#M88107</guid>
      <dc:creator>miyeDP27D</dc:creator>
      <dc:date>2023-06-27T13:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Access to state of a location in people object</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/access-to-state-of-a-location-in-people-object/m-p/13592550#M88108</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Exactly - here's the  &lt;A href="https://docs.flexsim.com/en/23.1/Reference/CodingInFlexSim/FlexScriptAPIReference/Tree/Object.html#Property-stats"&gt;user manual reference&lt;/A&gt;.&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Jun 2023 14:04:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/access-to-state-of-a-location-in-people-object/m-p/13592550#M88108</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-06-27T14:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Access to state of a location in people object</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/access-to-state-of-a-location-in-people-object/m-p/13592551#M88109</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/42724/mmy.html" nodeid="42724"&gt;@mm_y_2406&lt;/A&gt;, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;
 &lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 Jun 2023 15:04:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/access-to-state-of-a-location-in-people-object/m-p/13592551#M88109</guid>
      <dc:creator>julie_weller</dc:creator>
      <dc:date>2023-06-30T15:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Access to state of a location in people object</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/access-to-state-of-a-location-in-people-object/m-p/13592552#M88110</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 This did not work with the wait for event - state change but I created another post and was answered in there instead
&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Jul 2023 08:48:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/access-to-state-of-a-location-in-people-object/m-p/13592552#M88110</guid>
      <dc:creator>miyeDP27D</dc:creator>
      <dc:date>2023-07-07T08:48:51Z</dc:date>
    </item>
  </channel>
</rss>

