<?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 can I change token's information in array information? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-change-token-s-information-in-array-information/m-p/13529517#M38621</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.0.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/33164-elci.fsm" target="_blank"&gt;elci.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;Hi everyone, in my model I would that my task executer travel in my warehouse in order to pick box from different rack. &lt;/P&gt;
 &lt;P&gt;I give travel information to task executer in "travel TaskExecuter" but i would like to modify token information in array information. the array information is showed in picture but I have to write this information in a string to put in "destination" in "travel TaskExecuter".&lt;/P&gt;
 &lt;P&gt;May anybody help me?&lt;span class="lia-inline-image-display-wrapper" image-alt="33144-im3.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1503826i0C1C83D04333615C/image-size/large?v=v2&amp;amp;px=999" role="button" title="33144-im3.png" alt="33144-im3.png" /&gt;&lt;/span&gt; &lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 05 Oct 2020 10:30:09 GMT</pubDate>
    <dc:creator>francesco_s2</dc:creator>
    <dc:date>2020-10-05T10:30:09Z</dc:date>
    <item>
      <title>How can I change token's information in array information?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-change-token-s-information-in-array-information/m-p/13529517#M38621</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.0.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/33164-elci.fsm" target="_blank"&gt;elci.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;Hi everyone, in my model I would that my task executer travel in my warehouse in order to pick box from different rack. &lt;/P&gt;
 &lt;P&gt;I give travel information to task executer in "travel TaskExecuter" but i would like to modify token information in array information. the array information is showed in picture but I have to write this information in a string to put in "destination" in "travel TaskExecuter".&lt;/P&gt;
 &lt;P&gt;May anybody help me?&lt;span class="lia-inline-image-display-wrapper" image-alt="33144-im3.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1503826i0C1C83D04333615C/image-size/large?v=v2&amp;amp;px=999" role="button" title="33144-im3.png" alt="33144-im3.png" /&gt;&lt;/span&gt; &lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Oct 2020 10:30:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-change-token-s-information-in-array-information/m-p/13529517#M38621</guid>
      <dc:creator>francesco_s2</dc:creator>
      <dc:date>2020-10-05T10:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I change token's information in array information?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-change-token-s-information-in-array-information/m-p/13529518#M38622</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/21536/francescos2.html" nodeid="21536"&gt;@FRANCESCO S2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the attached model, SkuOrd and QtyOrd label contains array value. You can assign the destination in the travel activity using token.ITEM label value like below. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="33165-traveldestination.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1503823i095076F513E5205A/image-size/large?v=v2&amp;amp;px=999" role="button" title="33165-traveldestination.png" alt="33165-traveldestination.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Let me know if this is what you are looking for.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Oct 2020 11:42:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-change-token-s-information-in-array-information/m-p/13529518#M38622</guid>
      <dc:creator>raja_sekaran</dc:creator>
      <dc:date>2020-10-05T11:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I change token's information in array information?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-change-token-s-information-in-array-information/m-p/13529519#M38623</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You convert a pointer (e.g. treenode, Object) into a string by the method getpath().&lt;/P&gt;&lt;PRE&gt;token.ITEM.getPath(model())&lt;/PRE&gt;&lt;P&gt;If you want to put the string into an array, you create an empty array.&lt;/P&gt;&lt;PRE&gt;token.labels.assert("newArray",[]);&lt;/PRE&gt;&lt;P&gt;And then you add an element to the array.&lt;/P&gt;&lt;PRE&gt;token.newArray.append(token.ITEM.getPath(model()))&lt;/PRE&gt;&lt;P&gt; But I do not know, why do you want to do this, because you can put the marked label value as a direct destination into the "Travel to" activity&lt;/P&gt;&lt;PRE&gt;token.ITEM&lt;/PRE&gt;&lt;P&gt;or &lt;/P&gt;&lt;PRE&gt;token.ITEM.up &lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Oct 2020 11:53:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-change-token-s-information-in-array-information/m-p/13529519#M38623</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2020-10-05T11:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I change token's information in array information?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-change-token-s-information-in-array-information/m-p/13529520#M38624</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 First thank everybody for the answers.I did not use token.ITEM because i am not sure that the task executer reaches the right position near the rack to pick the item.
 &lt;P&gt;For example in a case where the task executer have to pick an object at the end of rack 11, are we sure that with "destination: token.ITEM", in "travel task executer", it goes at the end of the rack and not in the middle, for example?&lt;/P&gt;
 &lt;P&gt;I would that the task executer reaches the best position near the item,placed in rack, becuase I suppose that the operation of picking should be done by robotic arm and it doesn't have huge dimension.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Oct 2020 15:18:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-can-i-change-token-s-information-in-array-information/m-p/13529520#M38624</guid>
      <dc:creator>francesco_s2</dc:creator>
      <dc:date>2020-10-05T15:18:01Z</dc:date>
    </item>
  </channel>
</rss>

