<?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: GUI Class not updating Dashboard when linked GUI changes in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/gui-class-not-updating-dashboard-when-linked-gui-changes/m-p/13850962#M98485</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/16535188"&gt;@borja_lorenzo&lt;/a&gt;, as I understand this. GUI is a fundamental interface to &lt;A href="https://docs.flexsim.com/en/25.2/Reference/DeveloperAdvancedUser/GUIs/KeyConceptsGUIs/KeyConceptsGUIs.html" target="_blank" rel="noopener"&gt;customize the look of FlexSim completely or partly as free floating or docked windows&lt;/A&gt;. A dashboard is a window in Flexsim and it is a newer feature. And therefore it is controlled as a GUI. First a dashboard has been only a chart space to display model output, later other templates have been added. As far as I know this is the third interface for this purpose.&amp;nbsp;&lt;BR /&gt;You can integrate a GUI sub window into a dashboard design. Dashboard and GUI can control both a model.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;viewwindowtype of a dashboard is 102&lt;/LI&gt;&lt;LI&gt;viewwindowtype of a GUI Class inside of a dashboard is 100&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I write this here to demonstrate the dependencies of both features. The view output system of FlexSim is decribed in the &lt;A href="https://docs.flexsim.com/en/25.2/Reference/GeneralModelSettings/TreeProperties/TreeProperties.html" target="_blank" rel="noopener"&gt;View tree&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now if you design a custom GUI and you want to integrate it in a dashboard you use the GUI Class Template and link your custom GUI in Properties.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A template "Model Documentation" is an internet browser window. Therein you link Flexscript and you can even run javascript. This here just a hint.&lt;/P&gt;&lt;P&gt;But be aware of the fact that a dashboard is not synchronized with model run time. If there is a huge mass of statistical data to display in a window which controls also the model, there happens an increasing gap of a lag. If you want to reduce such a lag, you can open a dashboard output window by a smaller faster updated dashboard window. You can have multiple dashboards in FlexSim program window.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Oct 2025 10:18:16 GMT</pubDate>
    <dc:creator>joerg_vogel_HsH</dc:creator>
    <dc:date>2025-10-14T10:18:16Z</dc:date>
    <item>
      <title>GUI Class not updating Dashboard when linked GUI changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/gui-class-not-updating-dashboard-when-linked-gui-changes/m-p/13844979#M98419</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I built a simple model with a GUI1 that has a checkbox2.&lt;BR /&gt;I also created a Dashboard with a GUI Class linked to GUI1.&lt;/P&gt;&lt;P&gt;The checkbox is visible in the Dashboard, but when I toggle it in GUI1, the change is not reflected in the Dashboard.&lt;/P&gt;&lt;P&gt;I tried calling repaintview(Dashboard) in the OnPress of checkbox2, but it has no effect.&lt;/P&gt;&lt;P&gt;How can I synchronize the checkbox state between the GUI Class and the Dashboard?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Version: 24.1&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 12:08:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/gui-class-not-updating-dashboard-when-linked-gui-changes/m-p/13844979#M98419</guid>
      <dc:creator>borja_lorenzo</dc:creator>
      <dc:date>2025-10-09T12:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: GUI Class not updating Dashboard when linked GUI changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/gui-class-not-updating-dashboard-when-linked-gui-changes/m-p/13850702#M98481</link>
      <description>&lt;P&gt;Maybe you cannot do this, because object oriented programming metrics with full inheritance is not implemented in FlexSim. A GUI in a dashboard is an instance created by a copy of an object. Maybe you expects that it is a Derivate of a class. I assume that you have to apply by exchanging relevant nodes from library class object to published object yourself.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 06:33:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/gui-class-not-updating-dashboard-when-linked-gui-changes/m-p/13850702#M98481</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2025-10-14T06:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: GUI Class not updating Dashboard when linked GUI changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/gui-class-not-updating-dashboard-when-linked-gui-changes/m-p/13850890#M98483</link>
      <description>&lt;P&gt;Thanks a lot for your reply and clarification!&lt;BR /&gt;It actually helped me understand the behavior better, but at the same time it raised a few more questions that I hope you can help me with.&lt;/P&gt;&lt;P&gt;From what I understand, the GUI Class in a dashboard behaves as a copied instance of a GUI, not as a derived or synchronized class.&lt;BR /&gt;Still, I’d like to understand its intended purpose a bit deeper:&lt;/P&gt;&lt;P&gt;• Is the GUI Class meant just to display a static copy of the GUI design, or can it be used as an active interface for model interaction?&lt;BR /&gt;• If synchronized behavior is needed, is linking both (the GUI and the GUI Class) to a shared node or variable the correct approach?&lt;BR /&gt;• Are there any official examples or documentation where a GUI Class is used inside a dashboard, showing its typical use cases and possible refresh methods?&lt;BR /&gt;• In practice, when would you recommend using GUI Class instead of native model inputs like checkboxes or comboboxes?&lt;/P&gt;&lt;P&gt;Thanks again for your time and explanations — I really appreciate any extra insight or examples you can share.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 09:12:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/gui-class-not-updating-dashboard-when-linked-gui-changes/m-p/13850890#M98483</guid>
      <dc:creator>borja_lorenzo</dc:creator>
      <dc:date>2025-10-14T09:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: GUI Class not updating Dashboard when linked GUI changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/gui-class-not-updating-dashboard-when-linked-gui-changes/m-p/13850962#M98485</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/16535188"&gt;@borja_lorenzo&lt;/a&gt;, as I understand this. GUI is a fundamental interface to &lt;A href="https://docs.flexsim.com/en/25.2/Reference/DeveloperAdvancedUser/GUIs/KeyConceptsGUIs/KeyConceptsGUIs.html" target="_blank" rel="noopener"&gt;customize the look of FlexSim completely or partly as free floating or docked windows&lt;/A&gt;. A dashboard is a window in Flexsim and it is a newer feature. And therefore it is controlled as a GUI. First a dashboard has been only a chart space to display model output, later other templates have been added. As far as I know this is the third interface for this purpose.&amp;nbsp;&lt;BR /&gt;You can integrate a GUI sub window into a dashboard design. Dashboard and GUI can control both a model.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;viewwindowtype of a dashboard is 102&lt;/LI&gt;&lt;LI&gt;viewwindowtype of a GUI Class inside of a dashboard is 100&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I write this here to demonstrate the dependencies of both features. The view output system of FlexSim is decribed in the &lt;A href="https://docs.flexsim.com/en/25.2/Reference/GeneralModelSettings/TreeProperties/TreeProperties.html" target="_blank" rel="noopener"&gt;View tree&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now if you design a custom GUI and you want to integrate it in a dashboard you use the GUI Class Template and link your custom GUI in Properties.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A template "Model Documentation" is an internet browser window. Therein you link Flexscript and you can even run javascript. This here just a hint.&lt;/P&gt;&lt;P&gt;But be aware of the fact that a dashboard is not synchronized with model run time. If there is a huge mass of statistical data to display in a window which controls also the model, there happens an increasing gap of a lag. If you want to reduce such a lag, you can open a dashboard output window by a smaller faster updated dashboard window. You can have multiple dashboards in FlexSim program window.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 10:18:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/gui-class-not-updating-dashboard-when-linked-gui-changes/m-p/13850962#M98485</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2025-10-14T10:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: GUI Class not updating Dashboard when linked GUI changes</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/gui-class-not-updating-dashboard-when-linked-gui-changes/m-p/13922917#M99173</link>
      <description>&lt;P&gt;Thanks a lot for your explanations. After spending some time reviewing the documentation and testing different cases in my model, I think I now understand the behaviour better — but I would really appreciate confirmation from more experienced users in case I’m still missing something.&lt;/P&gt;&lt;P&gt;As far as I can tell, the &lt;STRONG&gt;GUI definition&lt;/STRONG&gt; (the structure created with the GUI Builder) is stored in the &lt;EM&gt;model tree&lt;/EM&gt;, while the visible GUI window corresponds to a &lt;STRONG&gt;runtime view instance&lt;/STRONG&gt; living in the &lt;EM&gt;view tree&lt;/EM&gt;.&lt;BR /&gt;This runtime instance includes temporary state such as itemcurrent in comboboxes, checkbox states, etc.&lt;/P&gt;&lt;P&gt;Based on what I observed:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;When I embed this GUI into a Dashboard using a &lt;STRONG&gt;GUI Class&lt;/STRONG&gt;, FlexSim seems to create a &lt;STRONG&gt;new view instance&lt;/STRONG&gt; from the &lt;EM&gt;model-tree definition&lt;/EM&gt;,&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;…and &lt;STRONG&gt;not from the currently opened GUI window&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Therefore, the GUI Class does not inherit any runtime state (like the selected itemcurrent), and all controls appear with their default values.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This behaviour is not explicitly stated in the documentation (as far as I’ve found), but it appears consistent with how the model tree and view tree are conceptually separated.&lt;BR /&gt;Could someone confirm if this interpretation is correct?&lt;/P&gt;&lt;P&gt;Additionally, if one needs &lt;STRONG&gt;persistence or synchronization&lt;/STRONG&gt; between the GUI and the GUI Class, it seems necessary to &lt;STRONG&gt;externalize&lt;/STRONG&gt; that temporary UI state into model nodes, by using attributes like coldlink and/or pickitem, and then restoring those values when new GUI instances (such as GUI Class controls) are created inside the Dashboard.&lt;/P&gt;&lt;P&gt;Finally, the second issue I experienced — where one combobox wasn’t behaving correctly when used inside the Dashboard — was caused by a missing parameter in one of my User Commands. After fixing the parameter list, the behaviour is now correct.&lt;/P&gt;&lt;P&gt;Thanks again for the support, and I’d appreciate any confirmation or corrections from users who know the internals better than I do.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 14:38:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/gui-class-not-updating-dashboard-when-linked-gui-changes/m-p/13922917#M99173</guid>
      <dc:creator>borja_lorenzo</dc:creator>
      <dc:date>2025-11-27T14:38:54Z</dc:date>
    </item>
  </channel>
</rss>

