<?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 Associate objects to control variable in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/associate-objects-to-control-variable/m-p/13582030#M79789</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.1.1 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I am already able to change 3D shape of one box but it works only for one. I want to know how can I &lt;STRONG&gt;associate every object&lt;/STRONG&gt; that came out from source or every object in queue to control variable so I would be able to change 3D shapes of boxes on conveyor every time when I write value "1". Or if you know about better solution of my problem, please let me know. I will be grateful for any answers. &lt;span class="lia-inline-image-display-wrapper" image-alt="default-box.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516976i8E5C7193B1BF9ADD/image-size/large?v=v2&amp;amp;px=999" role="button" title="default-box.png" alt="default-box.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="change-3d-shape.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516977i677D220F33FB9E58/image-size/large?v=v2&amp;amp;px=999" role="button" title="change-3d-shape.png" alt="change-3d-shape.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="associated-object.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516978iFE194102CF423CA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="associated-object.png" alt="associated-object.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 09 May 2023 16:11:47 GMT</pubDate>
    <dc:creator>JurajZilka</dc:creator>
    <dc:date>2023-05-09T16:11:47Z</dc:date>
    <item>
      <title>Associate objects to control variable</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-objects-to-control-variable/m-p/13582030#M79789</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.1.1 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I am already able to change 3D shape of one box but it works only for one. I want to know how can I &lt;STRONG&gt;associate every object&lt;/STRONG&gt; that came out from source or every object in queue to control variable so I would be able to change 3D shapes of boxes on conveyor every time when I write value "1". Or if you know about better solution of my problem, please let me know. I will be grateful for any answers. &lt;span class="lia-inline-image-display-wrapper" image-alt="default-box.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516976i8E5C7193B1BF9ADD/image-size/large?v=v2&amp;amp;px=999" role="button" title="default-box.png" alt="default-box.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="change-3d-shape.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516977i677D220F33FB9E58/image-size/large?v=v2&amp;amp;px=999" role="button" title="change-3d-shape.png" alt="change-3d-shape.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="associated-object.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516978iFE194102CF423CA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="associated-object.png" alt="associated-object.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 May 2023 16:11:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-objects-to-control-variable/m-p/13582030#M79789</guid>
      <dc:creator>JurajZilka</dc:creator>
      <dc:date>2023-05-09T16:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Associate objects to control variable</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-objects-to-control-variable/m-p/13582031#M79790</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello &lt;A rel="user" href="https://answers.flexsim.com/users/42715/jurajzilka.html" nodeid="42715"&gt;@JurajZilka&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I was able to change the associated object by finding the variable in the model tree and referencing it to set the value. I used an on entry trigger to set the value of the entering flow item to the associated object. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1683674902441.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516972iFE11B817A5E2E107/image-size/large?v=v2&amp;amp;px=999" role="button" title="1683674902441.png" alt="1683674902441.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;getvarnode(Model.find("Tools/Emulation"), "emulationVariables").as(Table)[1][13] = item;&lt;/PRE&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/67919-emulation-associated-object-variable.fsm" target="_blank"&gt;Emulation Associated Object Variable.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 May 2023 23:31:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-objects-to-control-variable/m-p/13582031#M79790</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2023-05-09T23:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Associate objects to control variable</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-objects-to-control-variable/m-p/13582032#M79791</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I don't know if it is purpose but in your attached model I can't see any differences in model tree. I still do not know how to solve my problem because when I tried to type something into object in model tree it automatically corected it. For example when I typed "/StraightConveyor1/Box" the "Box" was removed.&lt;span class="lia-inline-image-display-wrapper" image-alt="modeltree.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516974i507492143BE2DFB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="modeltree.png" alt="modeltree.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="emulation-properties.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1516975i32BD022A84D82ECB/image-size/large?v=v2&amp;amp;px=999" role="button" title="emulation-properties.png" alt="emulation-properties.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 May 2023 16:05:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-objects-to-control-variable/m-p/13582032#M79791</guid>
      <dc:creator>JurajZilka</dc:creator>
      <dc:date>2023-05-10T16:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Associate objects to control variable</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-objects-to-control-variable/m-p/13582033#M79792</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Like I mentioned above. I reference that node with code to set the value. You can't just type into the field to change it. The code is executed when an item enters the conveyor in my model. I use an on entry trigger on the conveyor. &lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 May 2023 16:18:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-objects-to-control-variable/m-p/13582033#M79792</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2023-05-10T16:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Associate objects to control variable</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/associate-objects-to-control-variable/m-p/13582034#M79793</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Oh, I can see now. Anyway, thank you for your time and help. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; 
&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 May 2023 16:24:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/associate-objects-to-control-variable/m-p/13582034#M79793</guid>
      <dc:creator>JurajZilka</dc:creator>
      <dc:date>2023-05-10T16:24:02Z</dc:date>
    </item>
  </channel>
</rss>

