<?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: How to change the State Profile in Set Object State? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-profile-in-set-object-state/m-p/13575489#M74818</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 Okay Thank you!:)
&lt;/DIV&gt;</description>
    <pubDate>Tue, 12 Mar 2024 07:48:46 GMT</pubDate>
    <dc:creator>jouky_d</dc:creator>
    <dc:date>2024-03-12T07:48:46Z</dc:date>
    <item>
      <title>How to change the State Profile in Set Object State?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-profile-in-set-object-state/m-p/13575484#M74813</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.2.1 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello everyone,&lt;BR /&gt;&lt;BR /&gt;I am trying to change the state of a BasicFR. However, I don't know how to call another StateTable different to the Default value. I know there is a way to change the Table states of the BasicFR object and I know I do not need it for Dashboards because I can choose on the Dashboards a different state profile than the Set Object State Profile chosen. However, I have some states bigger than 50 and I don't want to change the Default table adding more states. I woul like to use the created stateTables.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1710148450270.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522819iEDE282C4F3C15F3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="1710148450270.png" alt="1710148450270.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;My StateTable is something like:&lt;span class="lia-inline-image-display-wrapper" image-alt="1710148639315.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522820iED321E9DF78F4DCD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1710148639315.png" alt="1710148639315.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;The Default StateTable riches the 50 state, but not 301 if I do not add it.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1710148655899.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522821iCE54A5338E809199/image-size/large?v=v2&amp;amp;px=999" role="button" title="1710148655899.png" alt="1710148655899.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Mar 2024 09:19:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-profile-in-set-object-state/m-p/13575484#M74813</guid>
      <dc:creator>jouky_d</dc:creator>
      <dc:date>2024-03-11T09:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the State Profile in Set Object State?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-profile-in-set-object-state/m-p/13575485#M74814</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/19823/joukyd.html" nodeid="19823"&gt;@Jouky D&lt;/A&gt;, there is the sampler tool behind edit field “State Profile”. Use it to select your customized state profile in your ToolBox. Or you should find it under small black down arrow in a list.&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Mar 2024 09:32:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-profile-in-set-object-state/m-p/13575485#M74814</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2024-03-11T09:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the State Profile in Set Object State?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-profile-in-set-object-state/m-p/13575486#M74815</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;State tables have nothing to do with changing an object's state. They are only used in conjunction with dashboard charts where they control the display name and which states count as 'utilized' or not or are excluded from the chart entirely.&lt;/P&gt;&lt;P&gt;The "STATE_STOPPED" and other such expressions are global defines that make it so users do not have to look up the state numbers when filling in the state field. Anywhere you enter "STATE_STOPPED" you could just as well write "48".&lt;/P&gt;&lt;P&gt;You can create your own defines for the added state numbers in the toolbox under &lt;A rel="noopener noreferrer" id="isPasted" href="https://docs.flexsim.com/en/24.0/Reference/Tools/GlobalVariables/GlobalVariables.html#macros" target="_blank"&gt;global macros&lt;/A&gt;. Or you just type 301, 302, ... into the state field.&lt;/P&gt;&lt;P&gt;If you want the object to display the correct name in its statistics panel, you have to update the state profile manually (after the state was added by setting the object to it once).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1710156644326.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522817i0F12AF78E31E3C4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="1710156644326.png" alt="1710156644326.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Mar 2024 11:31:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-profile-in-set-object-state/m-p/13575486#M74815</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2024-03-11T11:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the State Profile in Set Object State?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-profile-in-set-object-state/m-p/13575487#M74816</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;What do you mean by type 301, 302,... into the state field? &lt;SPAN id="isPasted" style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;Do I have to create a new StateTable from Default and adding 301, 302 states? &lt;/SPAN&gt;The error exception I get is: &lt;/P&gt;
 &lt;P&gt;time: 26.271192 exception: FlexScript exception: Tracked Variable method 'getCategoryName' at /Object1/SubObject1&amp;gt;stats/state_current: invalid category number.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Mar 2024 14:01:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-profile-in-set-object-state/m-p/13575487#M74816</guid>
      <dc:creator>jouky_d</dc:creator>
      <dc:date>2024-03-11T14:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the State Profile in Set Object State?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-profile-in-set-object-state/m-p/13575488#M74817</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;That error is 'normal'. It should only appear once, when the object is first set to state that does not yet exist in its profile.&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Mar 2024 16:32:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-profile-in-set-object-state/m-p/13575488#M74817</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2024-03-11T16:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the State Profile in Set Object State?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-profile-in-set-object-state/m-p/13575489#M74818</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Okay Thank you!:)
&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Mar 2024 07:48:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-change-the-state-profile-in-set-object-state/m-p/13575489#M74818</guid>
      <dc:creator>jouky_d</dc:creator>
      <dc:date>2024-03-12T07:48:46Z</dc:date>
    </item>
  </channel>
</rss>

