<?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 Combiner Logic in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/combiner-logic/m-p/13496002#M12274</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.0.10 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi, &lt;/P&gt;
 &lt;P&gt;I'm having some difficulties with combiner logic. I'm trying to make the combiner only combine the same type of product. I found some code here on the forum that uses pull strategy, but it doesn't combine the same type. Maybe I'm not using it right, coding is not my strongest area. Does anyone have a solution for this? &lt;/P&gt;
 &lt;P&gt;Thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/51449-combiner.fsm" target="_blank"&gt;Combiner.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 28 Apr 2022 09:41:57 GMT</pubDate>
    <dc:creator>tomas_ari_e</dc:creator>
    <dc:date>2022-04-28T09:41:57Z</dc:date>
    <item>
      <title>Combiner Logic</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/combiner-logic/m-p/13496002#M12274</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.0.10 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi, &lt;/P&gt;
 &lt;P&gt;I'm having some difficulties with combiner logic. I'm trying to make the combiner only combine the same type of product. I found some code here on the forum that uses pull strategy, but it doesn't combine the same type. Maybe I'm not using it right, coding is not my strongest area. Does anyone have a solution for this? &lt;/P&gt;
 &lt;P&gt;Thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/51449-combiner.fsm" target="_blank"&gt;Combiner.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Apr 2022 09:41:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/combiner-logic/m-p/13496002#M12274</guid>
      <dc:creator>tomas_ari_e</dc:creator>
      <dc:date>2022-04-28T09:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Combiner Logic</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/combiner-logic/m-p/13496003#M12275</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Large parts of that code are deprecated. The important bit is that in earlier versions an item's "type" was an inherent value to the flow item, whereas now, the type is represented as a label (potentially one of many) on the item. "getitemtype()" tries to read that previous inherent value and returns 0 because that value isn't set/doesn't exist. (Not sure if it could still be set in this version)&lt;/P&gt;&lt;P&gt;In the attached model I updated the code to use current syntax (labels accessed through dot-syntax and use of subnodes to reference items within other objects, instead of rank() and content(), though those still work).&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/51461-combiner-1.fsm" target="_blank"&gt;combiner_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Apr 2022 10:48:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/combiner-logic/m-p/13496003#M12275</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2022-04-28T10:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Combiner Logic</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/combiner-logic/m-p/13496004#M12276</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Works perfectly, thank you Felix&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Apr 2022 11:37:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/combiner-logic/m-p/13496004#M12276</guid>
      <dc:creator>tomas_ari_e</dc:creator>
      <dc:date>2022-04-28T11:37:17Z</dc:date>
    </item>
  </channel>
</rss>

