<?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: create a Global Table in flexscript in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486388#M4827</link>
    <description>&lt;P&gt;&lt;A id="16378" href="https://answers.flexsim.com/storage/temp/16378-capture.png"&gt;capture.png&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I cannot do it. This is my script, I want to inser by flexscript a table 38x6, but the software don't read the comand.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Dec 2018 15:34:53 GMT</pubDate>
    <dc:creator>alfredo_df2</dc:creator>
    <dc:date>2018-12-12T15:34:53Z</dc:date>
    <item>
      <title>create a Global Table in flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486381#M4820</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 18.2.2 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Is it possible to create new tables inside part of a code. Then to destroy in another code. The number of tables created will depend on an integer in a label called "DAYS TO RUN". I want to have data per day on each table. I tried insertcopy but didn't work.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 08:13:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486381#M4820</guid>
      <dc:creator>enrique.elizaga</dc:creator>
      <dc:date>2018-12-06T08:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: create a Global Table in flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486382#M4821</link>
      <description>&lt;P&gt;
	Try this&lt;/P&gt;
&lt;PRE&gt;treenode globalTablesNode = model().find("Tools/GlobalTables");
treenode newTable = createcopy(globalTablesNode.first,globalTablesNode,0);
newTable.name = "myNewTable";
&lt;/PRE&gt;&lt;P&gt;
	It copies the first global table of the global tables.&lt;/P&gt;&lt;P&gt;
	If you know the name of the table for example "MyKnownTableName"&lt;/P&gt;
&lt;PRE&gt;globalTablesNode.subnodes["MyKnownTableName"] 
&lt;/PRE&gt;&lt;P&gt;is the reference to this table object.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 09:28:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486382#M4821</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2018-12-06T09:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: create a Global Table in flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486383#M4822</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/583/enrique.e.html" nodeid="583"&gt;@Enrique Elizaga&lt;/A&gt; If I want to do something like this I look through the tree to find how FlexSim did it. In this case there is actually an application command for it:&lt;/P&gt;&lt;PRE&gt;treenode table = applicationcommand("addglobaltable");&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Dec 2018 10:04:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486383#M4822</guid>
      <dc:creator>SCHamoen</dc:creator>
      <dc:date>2018-12-06T10:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: create a Global Table in flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486384#M4823</link>
      <description>&lt;P&gt;Great &lt;A rel="user" href="https://answers.flexsim.com/users/193/steven.h.html" nodeid="193"&gt;@steven.hamoen&lt;/A&gt;, it worked! Can you give me more detail on "looking through the tree". This will give me lots of options. For example, when the table is created it opens it up on a new window. How can i close that window through flexscript...&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 20:34:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486384#M4823</guid>
      <dc:creator>enrique.elizaga</dc:creator>
      <dc:date>2018-12-06T20:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: create a Global Table in flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486385#M4824</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/583/enrique.e.html" nodeid="583"&gt;@Enrique Elizaga&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you open the view tree you can search through the tree in the search box in the quick properties. So I looked for Toolbox and drilled down till I found the table add option&lt;BR /&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/583/enrique.e.html" nodeid="583"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 21:14:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486385#M4824</guid>
      <dc:creator>SCHamoen</dc:creator>
      <dc:date>2018-12-06T21:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: create a Global Table in flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486386#M4825</link>
      <description>&lt;P&gt;After entering the table, how do I assign the dimensions by flexscript?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 14:47:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486386#M4825</guid>
      <dc:creator>alfredo_df2</dc:creator>
      <dc:date>2018-12-12T14:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: create a Global Table in flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486387#M4826</link>
      <description>&lt;P&gt;Hi, do you mean the table size? Doing this.&lt;/P&gt;
&lt;PRE&gt;MyKnownTableName.setSize(5,5);&lt;/PRE&gt;
&lt;P&gt;Or whatever size you want.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 15:03:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486387#M4826</guid>
      <dc:creator>enrique.elizaga</dc:creator>
      <dc:date>2018-12-12T15:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: create a Global Table in flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486388#M4827</link>
      <description>&lt;P&gt;&lt;A id="16378" href="https://answers.flexsim.com/storage/temp/16378-capture.png"&gt;capture.png&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I cannot do it. This is my script, I want to inser by flexscript a table 38x6, but the software don't read the comand.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 15:34:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486388#M4827</guid>
      <dc:creator>alfredo_df2</dc:creator>
      <dc:date>2018-12-12T15:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: create a Global Table in flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486389#M4828</link>
      <description>&lt;P style="margin-left: 40px;"&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/11537/alfredodf2.html" nodeid="11537"&gt;@Alfredo DF2&lt;/A&gt; try this instead:&lt;/P&gt;
&lt;PRE style="margin-left: 40px;"&gt;treenode TABLE = applicationcommand("addglobaltable");
TABLE.name = "TravelSX";
Table("TravelSX").setSize(5,5);&lt;BR /&gt;&lt;/PRE&gt;
&lt;P style="margin-left: 40px;"&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 16:25:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486389#M4828</guid>
      <dc:creator>enrique.elizaga</dc:creator>
      <dc:date>2018-12-12T16:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: create a Global Table in flexscript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486390#M4829</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="#"&gt;@steven.hamoen&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I searched in the same way as you suggested through the view tree, but I was not able to find which the command closes the window of the new table, can you add it, please? &lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Manuel.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 22:15:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/create-a-global-table-in-flexscript/m-p/13486390#M4829</guid>
      <dc:creator>manuel_s4</dc:creator>
      <dc:date>2020-03-03T22:15:10Z</dc:date>
    </item>
  </channel>
</rss>

