<?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: Can I use global table to auto connect my production line? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/can-i-use-global-table-to-auto-connect-my-production-line/m-p/13540994#M47776</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thank you for your reply , I just want to make the connections from a line definition as well as arrange their positions from x\y\z in my global table.&lt;/P&gt;
 &lt;P&gt;My intention is to create a GUI where I can import different tables ;each table has the information I need to auto connect&amp;amp;arrange my fixed resources&lt;/P&gt;
 &lt;P&gt; &lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 12 Nov 2020 01:04:52 GMT</pubDate>
    <dc:creator>iamfph</dc:creator>
    <dc:date>2020-11-12T01:04:52Z</dc:date>
    <item>
      <title>Can I use global table to auto connect my production line?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/can-i-use-global-table-to-auto-connect-my-production-line/m-p/13540992#M47774</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 19.2.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;H4&gt;I'm randomly dragging Fixed Resources I need ,and I bulit a global table &lt;/H4&gt;
 &lt;H4&gt;BEFORE:&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1504113i51A4EE3B93ED7B69/image-size/large?v=v2&amp;amp;px=999" title="34005-1604831359331.png" alt="34005-1604831359331.png" /&gt;&lt;/span&gt;&lt;/H4&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1504112i3C349E5640E3593D/image-size/large?v=v2&amp;amp;px=999" title="33984-1604831494209.png" alt="33984-1604831494209.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1504114i5BCF87E3A3D92346/image-size/large?v=v2&amp;amp;px=999" title="34007-1604836607423.png" alt="34007-1604836607423.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;Is it possile to make connections between fixed resources and global table to auto connect fixed resources? &lt;/P&gt;
 &lt;P&gt;Cause I have to add new nodes in connectsin&amp;amp;connectionsout , I don't know how to do it&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1504115i19AD6D0CD674FD46/image-size/large?v=v2&amp;amp;px=999" title="33993-1604836720605.png" alt="33993-1604836720605.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;AFTER:&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1504116iA8F60CBADC728098/image-size/large?v=v2&amp;amp;px=999" title="33985-1604836509053.png" alt="33985-1604836509053.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 08 Nov 2020 12:01:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/can-i-use-global-table-to-auto-connect-my-production-line/m-p/13540992#M47774</guid>
      <dc:creator>iamfph</dc:creator>
      <dc:date>2020-11-08T12:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use global table to auto connect my production line?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/can-i-use-global-table-to-auto-connect-my-production-line/m-p/13540993#M47775</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I'm not sure from your post if you want just to make the connections from a line definition that is stored in the global table, or if you want to alter the layout too.&lt;/P&gt;&lt;P&gt;This will do the connections.&lt;/P&gt;&lt;PRE&gt;contextdragconnecion(&amp;lt;fromobj&amp;gt;,&amp;lt;toobj&amp;gt;,"A");&lt;/PRE&gt;&lt;P&gt;If you want to align them just create a loop and set each object's x location to that of the predecessor plus that object's x size plus a margin.&lt;/P&gt;&lt;PRE&gt;Object posobj=Model.find("Source1");
double y=posobj.location.y; &amp;nbsp;//align in y
double margin=0.2;
double x=posobj.size.x+posobj.location.x+margin;
while (posobj.outObjects.length&amp;gt;0){
&amp;nbsp; &amp;nbsp; posobj=posobj.outObjects[1];
&amp;nbsp; &amp;nbsp; posobj.location.x=x;
&amp;nbsp; &amp;nbsp; posobj.location.y=y;
&amp;nbsp; &amp;nbsp; x+=posobj.size.x+margin;
}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&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>Mon, 09 Nov 2020 10:36:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/can-i-use-global-table-to-auto-connect-my-production-line/m-p/13540993#M47775</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2020-11-09T10:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use global table to auto connect my production line?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/can-i-use-global-table-to-auto-connect-my-production-line/m-p/13540994#M47776</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thank you for your reply , I just want to make the connections from a line definition as well as arrange their positions from x\y\z in my global table.&lt;/P&gt;
 &lt;P&gt;My intention is to create a GUI where I can import different tables ;each table has the information I need to auto connect&amp;amp;arrange my fixed resources&lt;/P&gt;
 &lt;P&gt; &lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Nov 2020 01:04:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/can-i-use-global-table-to-auto-connect-my-production-line/m-p/13540994#M47776</guid>
      <dc:creator>iamfph</dc:creator>
      <dc:date>2020-11-12T01:04:52Z</dc:date>
    </item>
  </channel>
</rss>

