<?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 Error with command applicationcommand(&amp;quot;savedefaultviewproject&amp;quot;); in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/error-with-command-applicationcommand-quot/m-p/13507520#M21269</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi.&lt;/P&gt;
 &lt;P&gt;i tried to run the command applicationcommand("savedefaultviewproject") in flexscript to generate the .fsx files, but in the newer versions of flexsim the command doesn't generate any file.&lt;/P&gt;
 &lt;P&gt;22.1.2 - It works&lt;/P&gt;
 &lt;P&gt;22.2.0 - It works&lt;/P&gt;
 &lt;P&gt;22.2.2 - Doesn't work&lt;/P&gt;
 &lt;P&gt;22.2.3 - Doesn't work&lt;/P&gt;
 &lt;P&gt;Is this an error or the way to generate theses files is different in the newer versions?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Regards!&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 15 Nov 2022 05:16:57 GMT</pubDate>
    <dc:creator>sergio_v6</dc:creator>
    <dc:date>2022-11-15T05:16:57Z</dc:date>
    <item>
      <title>Error with command applicationcommand("savedefaultviewproject");</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-with-command-applicationcommand-quot/m-p/13507520#M21269</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi.&lt;/P&gt;
 &lt;P&gt;i tried to run the command applicationcommand("savedefaultviewproject") in flexscript to generate the .fsx files, but in the newer versions of flexsim the command doesn't generate any file.&lt;/P&gt;
 &lt;P&gt;22.1.2 - It works&lt;/P&gt;
 &lt;P&gt;22.2.0 - It works&lt;/P&gt;
 &lt;P&gt;22.2.2 - Doesn't work&lt;/P&gt;
 &lt;P&gt;22.2.3 - Doesn't work&lt;/P&gt;
 &lt;P&gt;Is this an error or the way to generate theses files is different in the newer versions?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Regards!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Nov 2022 05:16:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-with-command-applicationcommand-quot/m-p/13507520#M21269</guid>
      <dc:creator>sergio_v6</dc:creator>
      <dc:date>2022-11-15T05:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error with command applicationcommand("savedefaultviewproject");</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-with-command-applicationcommand-quot/m-p/13507521#M21270</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;This is on purpose. FlexSim shouldn't be saving the defaultview and defaultproject files. Changes to the MAIN and VIEW tree should be in modules and your modules should save correctly when executing applicationcommand("savedefaultviewproject").&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Nov 2022 16:31:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-with-command-applicationcommand-quot/m-p/13507521#M21270</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2022-11-15T16:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error with command applicationcommand("savedefaultviewproject");</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-with-command-applicationcommand-quot/m-p/13507522#M21271</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I just check and yeah, the modules are saved correctly.&lt;/P&gt;
 &lt;P&gt;Still I have a problem, in former versions of flexsim, I ran the savedefaultviewproject command, then, I modified the menu or some commands, and then I ran the &lt;SPAN 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; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;savedefaultviewproject &lt;/SPAN&gt; so I can keep the changes in the tree.&lt;/P&gt;
 &lt;P&gt;As an example, I added an API call before the applicationcommand("save") calls. As another example, I modified the HTML code of the Start page tab (TabPane/StartPage/HtmlPanel/webPanel&amp;gt;variables/html), so it can show me some extra information and also I added some useful links here.&lt;/P&gt;
 &lt;P&gt;Is possible to do this in the newer versions, so i don't lost the changes each time I restart the application?&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>Tue, 15 Nov 2022 20:55:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-with-command-applicationcommand-quot/m-p/13507522#M21271</guid>
      <dc:creator>sergio_v6</dc:creator>
      <dc:date>2022-11-15T20:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error with command applicationcommand("savedefaultviewproject");</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-with-command-applicationcommand-quot/m-p/13507523#M21272</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Yes, make a module with these changes.&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Nov 2022 20:56:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-with-command-applicationcommand-quot/m-p/13507523#M21272</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2022-11-15T20:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error with command applicationcommand("savedefaultviewproject");</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-with-command-applicationcommand-quot/m-p/13507524#M21273</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/31239/sergiov6.html" nodeid="31239"&gt;@Sergio V6&lt;/A&gt;  See &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/22.2/Reference/DeveloperAdvancedUser/ModuleSDK/QuickStart/QuickStart.html" target="_blank"&gt;Module SDK Quick Start&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Nov 2022 21:07:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-with-command-applicationcommand-quot/m-p/13507524#M21273</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2022-11-15T21:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error with command applicationcommand("savedefaultviewproject");</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-with-command-applicationcommand-quot/m-p/13507525#M21274</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;This worked. Thank you!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Nov 2022 21:38:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-with-command-applicationcommand-quot/m-p/13507525#M21274</guid>
      <dc:creator>sergio_v6</dc:creator>
      <dc:date>2022-11-15T21:38:38Z</dc:date>
    </item>
  </channel>
</rss>

