<?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 Dashboard button show/hide content in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/dashboard-button-show-hide-content/m-p/13590347#M86375</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.1.5 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Is it possible to have a button or a checkbox that after clicking it will hide or show contents of objects in the model?&lt;/P&gt;
 &lt;P&gt;The case is that i have a button in one of the dashboards, because this model wil open via webserwer. I want to hide or show content to have options to show client simulation model with all 3D objects and not focus on the simulation itself, but on the other hand i want to hide all contents for my symulation to run a little bit faster to generate plots in the dashboard.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 23 May 2024 12:40:53 GMT</pubDate>
    <dc:creator>ukasz_e</dc:creator>
    <dc:date>2024-05-23T12:40:53Z</dc:date>
    <item>
      <title>Dashboard button show/hide content</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/dashboard-button-show-hide-content/m-p/13590347#M86375</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.1.5 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Is it possible to have a button or a checkbox that after clicking it will hide or show contents of objects in the model?&lt;/P&gt;
 &lt;P&gt;The case is that i have a button in one of the dashboards, because this model wil open via webserwer. I want to hide or show content to have options to show client simulation model with all 3D objects and not focus on the simulation itself, but on the other hand i want to hide all contents for my symulation to run a little bit faster to generate plots in the dashboard.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 May 2024 12:40:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/dashboard-button-show-hide-content/m-p/13590347#M86375</guid>
      <dc:creator>ukasz_e</dc:creator>
      <dc:date>2024-05-23T12:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard button show/hide content</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/dashboard-button-show-hide-content/m-p/13590348#M86376</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You could write this code inside the button:&lt;/P&gt;&lt;PRE&gt;int value=switch_hidecontents(object,-1);
switch (value){
case 1: switch_hidecontents(object,0);
break;
case 0: switch_hidecontents(object,1);
break;
}&lt;/PRE&gt;&lt;P&gt;This code is for a singular object but it can be adapted to use it, for example, with groups.&lt;/P&gt;&lt;P&gt;You can check this command and many others on this link: &lt;A id="isPasted" href="https://docs.flexsim.com/en/21.1/Reference/CodingInFlexSim/CommandReference/CommandGroups.html#switch_hidecontents"&gt;https://docs.flexsim.com/en/21.1/Reference/CodingInFlexSim/CommandReference/CommandGroups.html#switch_hidecontents&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope it helps!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 May 2024 13:19:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/dashboard-button-show-hide-content/m-p/13590348#M86376</guid>
      <dc:creator>Paula_LG</dc:creator>
      <dc:date>2024-05-23T13:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard button show/hide content</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/dashboard-button-show-hide-content/m-p/13590349#M86377</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/8280/ukasze.html" nodeid="8280"&gt;@Łukasz E&lt;/A&gt;, was Paula LG'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>Tue, 04 Jun 2024 16:28:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/dashboard-button-show-hide-content/m-p/13590349#M86377</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2024-06-04T16:28:22Z</dc:date>
    </item>
  </channel>
</rss>

