<?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: How to group different objects together and parametrize ? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521764#M32443</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The "Delete and Copy Objects" code in the On Set trigger works like this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Delete objects in the group until there is only 1&lt;/LI&gt;&lt;LI&gt;Copy that object until there are enough object&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The new copies have the exact same location as the original object.&lt;/P&gt;&lt;P&gt;If you want to turn machines on or off, I wouldn't use that pickoption. Instead, I would have the queue send a message to itself, and when it gets the message, it closes the input ports of all the processors, according the parameter.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/53653-test-1.fsm" target="_blank"&gt;test_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 16 Jun 2022 23:08:03 GMT</pubDate>
    <dc:creator>JordanLJohnson</dc:creator>
    <dc:date>2022-06-16T23:08:03Z</dc:date>
    <item>
      <title>How to group different objects together and parametrize ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521763#M32442</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.1.5 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I want to build a parametric table to run the optimization&lt;/P&gt;
 &lt;P&gt;But I have a problem that the things in the group will disappear after parameterization&lt;/P&gt;
 &lt;P&gt;The scene that I want parameters is a workspace,&lt;/P&gt;
 &lt;P&gt;There are 4 work machines and 1 operator inside,&lt;/P&gt;
 &lt;P&gt;I want to optimize how many workspaces I need to meet my needs&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1655414576218.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510936i912D5B3804D46E1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="1655414576218.png" alt="1655414576218.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;so I group them first&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1655414633443.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510937iBE811AAEC81E9BFB/image-size/large?v=v2&amp;amp;px=999" role="button" title="1655414633443.png" alt="1655414633443.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;like this&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1655414673610.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510938i5C327E601F46A13E/image-size/large?v=v2&amp;amp;px=999" role="button" title="1655414673610.png" alt="1655414673610.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;Then create a parametric table&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1655414742164.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510939i666BAC49DB1C3582/image-size/large?v=v2&amp;amp;px=999" role="button" title="1655414742164.png" alt="1655414742164.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;Then set the reference of the parameter, and set Delete and Copy Group Members&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1655414794856.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510940i54C979C1C603AA49/image-size/large?v=v2&amp;amp;px=999" role="button" title="1655414794856.png" alt="1655414794856.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;At this time, there are still original members in the group.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1655414905391.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510941i82AC039DFEAF84CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="1655414905391.png" alt="1655414905391.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;But when I set it up to reset and run it once, there is only one type of member left in the group&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1655415062219.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510942iC90F5F89AF163B4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="1655415062219.png" alt="1655415062219.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;I don't know why it happens? Do I need to set something or create a trigger?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/53644-test.fsm" target="_blank"&gt;test.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Jun 2022 21:44:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521763#M32442</guid>
      <dc:creator>sia_sengchoon193</dc:creator>
      <dc:date>2022-06-16T21:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to group different objects together and parametrize ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521764#M32443</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The "Delete and Copy Objects" code in the On Set trigger works like this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Delete objects in the group until there is only 1&lt;/LI&gt;&lt;LI&gt;Copy that object until there are enough object&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The new copies have the exact same location as the original object.&lt;/P&gt;&lt;P&gt;If you want to turn machines on or off, I wouldn't use that pickoption. Instead, I would have the queue send a message to itself, and when it gets the message, it closes the input ports of all the processors, according the parameter.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/53653-test-1.fsm" target="_blank"&gt;test_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Jun 2022 23:08:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521764#M32443</guid>
      <dc:creator>JordanLJohnson</dc:creator>
      <dc:date>2022-06-16T23:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to group different objects together and parametrize ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521765#M32444</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/33483/siasengchoon193.html" nodeid="33483"&gt;@Sia Sengchoon193&lt;/A&gt;, great question! There's a few things I'd like to point out that may help you with your analysis.&lt;/P&gt;&lt;P&gt;First is that when you group the Processors and Operator together into one group and try to parameterize how many there are with a Parameter, it will only add/remove one &lt;EM&gt;type&lt;/EM&gt; of object. Therefore, when you change the parameter and reset the model, the operator disappears - FlexSim thinks you just want processors.&lt;/P&gt;&lt;P&gt;Secondly, the reason you're only seeing 1 processor after updating the parameter is that the processors stack on top of each other when created; if you move one you'll see more underneath.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;One solution is to put everything you want to replicate on a plane (Library &amp;gt; Visual); when things are in a plane, you can move the plane and they all move together; you can copy planes and everything inside is copied (like a mass selection). If you put the plane in a group and then parameterize the group (add and delete members), you can actually duplicate entire planes (image below). [&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/questions/100960/how-to-fix-the-plane-to-the-floor.html" target="_blank"&gt;Here's a link&lt;/A&gt; on how to put things in planes if you don't just drop them into one]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1655420991376.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510934iB6055A7E0F87E4C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="1655420991376.png" alt="1655420991376.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;One downside is that the connections to things outside of the plane are not kept.&lt;/P&gt;&lt;P&gt;Another solution would be to put all the processors in one group and all the operators in another group and then parameterize them individually (not in planes). Then they will scale up &lt;EM&gt;and&lt;/EM&gt; keep their port connections. This would be really useful to use in an &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/22.1/Reference/Tools/Experimenter/Experimenter.html" target="_blank"&gt;Experimenter&lt;/A&gt; too, which can run hundreds of iterations on different combinations of parameters.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/53647-parameterize-group.fsm" target="_blank"&gt;parameterize group.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Jun 2022 23:14:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521765#M32444</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2022-06-16T23:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to group different objects together and parametrize ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521766#M32445</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/33483/siasengchoon193.html" nodeid="33483"&gt;@Sia Sengchoon193&lt;/A&gt;, was Jordan Johnson's or my answer helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;&lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 Jun 2022 15:23:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521766#M32445</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2022-06-20T15:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to group different objects together and parametrize ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521767#M32446</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 I have almost the exact same question, however I have a need to parametrize up to about 8 'workspaces' that each contain a mixture of processors, combiners etc. Each workspace should have say 3 operators and I want to be able to duplicate the workspace or plane while maintaining the connections. Any ideas on how to duplicate while maintaining connections? Even using the planes and making connections manually, I struggle with having to make all these connections each time.
&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Aug 2023 21:16:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521767#M32446</guid>
      <dc:creator>dewriffic16</dc:creator>
      <dc:date>2023-08-08T21:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to group different objects together and parametrize ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521768#M32447</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Hi 
 &lt;A rel="user" href="https://answers.flexsim.com/users/43092/dewriffic16.html" nodeid="43092"&gt;@Dewriffic16&lt;/A&gt;! I think the easiest way to do that would be to replace your 3D connections with process flow, that way the connections would be connected to the groups and not the physical objects. If you want more help, please post a new questions (you can link to this one), ideally with your model. If it's proprietary you can toggle the question to be private.
&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Aug 2023 21:38:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521768#M32447</guid>
      <dc:creator>julie_weller</dc:creator>
      <dc:date>2023-08-08T21:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to group different objects together and parametrize ?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521769#M32448</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Thanks Julie! just posted a new question with more details... 
&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Aug 2023 22:08:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-different-objects-together-and-parametrize/m-p/13521769#M32448</guid>
      <dc:creator>dewriffic16</dc:creator>
      <dc:date>2023-08-08T22:08:56Z</dc:date>
    </item>
  </channel>
</rss>

