<?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: Setting model layout using parameter table or Flexscript in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/setting-model-layout-using-parameter-table-or-flexscript/m-p/13537515#M45019</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 Additionally, is there a way to find which model layout is currently selected in Flexscript? That will also work for me.
&lt;/DIV&gt;</description>
    <pubDate>Fri, 25 Jun 2021 15:30:16 GMT</pubDate>
    <dc:creator>christopher_c5</dc:creator>
    <dc:date>2021-06-25T15:30:16Z</dc:date>
    <item>
      <title>Setting model layout using parameter table or Flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setting-model-layout-using-parameter-table-or-flexscript/m-p/13537513#M45017</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.1.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I have a model with three different layouts and three different backgrounds. I would like to switch between the layouts and the backgrounds using the parameters table. I have working code that allows me to hide or display the background based on a model parameter. I have not been able to find a reference on how to set a model layout based on the parameter table or how to set it via Flexscript. I'd appreciate any help you can provide.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Jun 2021 15:14:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setting-model-layout-using-parameter-table-or-flexscript/m-p/13537513#M45017</guid>
      <dc:creator>christopher_c5</dc:creator>
      <dc:date>2021-06-25T15:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Setting model layout using parameter table or Flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setting-model-layout-using-parameter-table-or-flexscript/m-p/13537514#M45018</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;EM&gt;you will probably build three models on three different visual planes. Then you can set the one currently visible you want to show.&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Jun 2021 15:18:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setting-model-layout-using-parameter-table-or-flexscript/m-p/13537514#M45018</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2021-06-25T15:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Setting model layout using parameter table or Flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setting-model-layout-using-parameter-table-or-flexscript/m-p/13537515#M45019</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Additionally, is there a way to find which model layout is currently selected in Flexscript? That will also work for me.
&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Jun 2021 15:30:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setting-model-layout-using-parameter-table-or-flexscript/m-p/13537515#M45019</guid>
      <dc:creator>christopher_c5</dc:creator>
      <dc:date>2021-06-25T15:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Setting model layout using parameter table or Flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setting-model-layout-using-parameter-table-or-flexscript/m-p/13537516#M45020</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Unfortunately this model is very complicated and will require a lot of work to do that. I'm just trying to avoid having to set parameters in multiple places to make it function correctly.
&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Jun 2021 16:15:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setting-model-layout-using-parameter-table-or-flexscript/m-p/13537516#M45020</guid>
      <dc:creator>christopher_c5</dc:creator>
      <dc:date>2021-06-25T16:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Setting model layout using parameter table or Flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setting-model-layout-using-parameter-table-or-flexscript/m-p/13537517#M45021</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Choose the Set Model Layout option in the On Set of a parameter.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1624638672821.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1506605iBD3145F686BB5A1A/image-size/large?v=v2&amp;amp;px=999" role="button" title="1624638672821.png" alt="1624638672821.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you look at the code for that option you'll see that the FlexScript function it's calling is &lt;/P&gt;&lt;PRE&gt;applicationcommand("changemodellayout", layout.name);&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Jun 2021 16:32:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setting-model-layout-using-parameter-table-or-flexscript/m-p/13537517#M45021</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2021-06-25T16:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Setting model layout using parameter table or Flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setting-model-layout-using-parameter-table-or-flexscript/m-p/13537518#M45022</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thanks! I didn't think to look under "On Set" without a reference set. Just so its clear to others, this is all the code you need:&lt;/P&gt;
 &lt;PRE&gt;applicationcommand("changemodellayout", "layout name")&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Jun 2021 18:04:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setting-model-layout-using-parameter-table-or-flexscript/m-p/13537518#M45022</guid>
      <dc:creator>christopher_c5</dc:creator>
      <dc:date>2021-06-25T18:04:35Z</dc:date>
    </item>
  </channel>
</rss>

