<?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 How to group labels? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-labels/m-p/13520583#M31569</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 17.1.1 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;Imagine you have a lot of labels that connects catnames to their ages. I want to have these labels grouped in a "superlabel" called Cat_Ages. For example I assign a label to token.Cat_Ages called "Garfield" with value 5.&lt;/P&gt;
&lt;P&gt;When I try this I get exception Error: Invalid assign to reference. although the label token.Cat_Ages does exist.&lt;/P&gt;</description>
    <pubDate>Mon, 29 May 2017 07:08:30 GMT</pubDate>
    <dc:creator>jarek_o</dc:creator>
    <dc:date>2017-05-29T07:08:30Z</dc:date>
    <item>
      <title>How to group labels?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-labels/m-p/13520583#M31569</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 17.1.1 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;Imagine you have a lot of labels that connects catnames to their ages. I want to have these labels grouped in a "superlabel" called Cat_Ages. For example I assign a label to token.Cat_Ages called "Garfield" with value 5.&lt;/P&gt;
&lt;P&gt;When I try this I get exception Error: Invalid assign to reference. although the label token.Cat_Ages does exist.&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2017 07:08:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-labels/m-p/13520583#M31569</guid>
      <dc:creator>jarek_o</dc:creator>
      <dc:date>2017-05-29T07:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to group labels?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-labels/m-p/13520584#M31570</link>
      <description>&lt;P&gt;I'm not exactly sure I follow what you're trying to do. IF you want a label that has a reference to a lot of other labels, you'll need to set it as an array. A label array can be a list of references to other labels.&lt;/P&gt;&lt;P&gt;One of the most common ways people use label arrays is when pushing/pulling from a list. If you pull a number of items from a list, you can store references to them all in a label array.&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 14:04:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-labels/m-p/13520584#M31570</guid>
      <dc:creator>sam_stubbsYXX86</dc:creator>
      <dc:date>2017-05-30T14:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to group labels?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-labels/m-p/13520585#M31571</link>
      <description>&lt;P&gt;Labels can't have their own labels. Objects and tokens store labels. If you want a label that stores more information you can either use an array as Sam suggested (though that will not give you two values, the name and the age) or you can use subnodes on the label. A third option would be to have your Cat_Ages label actually be a reference to another token. You could create a dummy token that you use just for storing labels on. Then you can use straight dot syntax to get and set those values.&lt;/P&gt;&lt;PRE&gt;token.Cat_Ages.Garfield&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;Attached is a simple model showing this done.&lt;/P&gt;&lt;P&gt;&lt;A id="6873" href="https://answers.flexsim.com/storage/attachments/6873-catages.fsm"&gt;catages.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 15:38:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-labels/m-p/13520585#M31571</guid>
      <dc:creator>matt_long</dc:creator>
      <dc:date>2017-05-30T15:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to group labels?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-labels/m-p/13520586#M31572</link>
      <description>&lt;P&gt;Thanks for the answers @&lt;A rel="nofollow" href="https://answers.flexsim.com/users/614/samstubbs.html"&gt;Sam Stubbs&lt;/A&gt; and @&lt;A rel="nofollow" href="https://answers.flexsim.com/users/201/mattlong.html"&gt;Matt Long&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The dummy toke suggestion is the most useful solution to what I'm thinking of. I was asking this question for future issues where tokens have an unacceptable number of labels...&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Jarek&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 15:03:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-labels/m-p/13520586#M31572</guid>
      <dc:creator>jarek_o</dc:creator>
      <dc:date>2017-05-31T15:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to group labels?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-labels/m-p/13520587#M31573</link>
      <description>&lt;P&gt;Jarek,&lt;/P&gt;&lt;P&gt;in that case you might want to have all the information stored in a global table and have a token label with just a reference to the table information.&lt;/P&gt;&lt;P&gt;The other option would be to have the token reference a label on a 3D dummy object. Labels on 3D objects or FlowItems can have bundle data, allowing you to create a table in a label.&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;Ralf&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 15:36:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-group-labels/m-p/13520587#M31573</guid>
      <dc:creator>ralf_gruber</dc:creator>
      <dc:date>2017-05-31T15:36:30Z</dc:date>
    </item>
  </channel>
</rss>

