<?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: Create item on middle of conveyor via FlexScript in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/create-item-on-middle-of-conveyor-via-flexscript/m-p/13519422#M30656</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can put an entry transfer at the desired position along the conveyor and have the item enter through that.&lt;/P&gt;&lt;P&gt;You can also extend a single entry transfer along the length of a conveyor and set the location.x property of the item before moving it to the transfer to say at what point it should enter the conveyor (see attached model)&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/61894-createitemsalongconveyor.fsm" target="_blank"&gt;createItemsAlongConveyor.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;Lastly the legacy basic conveyor lets you add items at any position along it.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 07 Dec 2022 22:53:06 GMT</pubDate>
    <dc:creator>jason_lightfoot_adsk</dc:creator>
    <dc:date>2022-12-07T22:53:06Z</dc:date>
    <item>
      <title>Create item on middle of conveyor via FlexScript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/create-item-on-middle-of-conveyor-via-flexscript/m-p/13519421#M30655</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi !&lt;/P&gt;
 &lt;P&gt;I would like to create a flowitem via Flexscript in a ProcessFlow and place the item on a defined position on a conveyor. &lt;/P&gt;
 &lt;P&gt;So far I could create the item, define its parents (the conveyor) and its position, but when I run the model the item does not go further on the conveyor. When I try this with a processor instead of a conveyor it works.&lt;/P&gt;
 &lt;P&gt; Am I missing a step ?&lt;/P&gt;
 &lt;P&gt;Here is the code I used:&lt;/P&gt;
 &lt;PRE&gt;newToken = createtoken(processFlow, activityName, 1);
newItem = createcopy(Model.find("/Tools/FlowItemBin/Box/1"), model().find(ConveyorName));
newItem.setLocation(Vec3(positionX, positionY, positionZ), Vec3(0.5, 0.5, 0));
setlabel(newToken, "item", newItem);&lt;/PRE&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Dec 2022 17:21:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/create-item-on-middle-of-conveyor-via-flexscript/m-p/13519421#M30655</guid>
      <dc:creator>sebastien_b49</dc:creator>
      <dc:date>2022-12-07T17:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create item on middle of conveyor via FlexScript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/create-item-on-middle-of-conveyor-via-flexscript/m-p/13519422#M30656</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can put an entry transfer at the desired position along the conveyor and have the item enter through that.&lt;/P&gt;&lt;P&gt;You can also extend a single entry transfer along the length of a conveyor and set the location.x property of the item before moving it to the transfer to say at what point it should enter the conveyor (see attached model)&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/61894-createitemsalongconveyor.fsm" target="_blank"&gt;createItemsAlongConveyor.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;Lastly the legacy basic conveyor lets you add items at any position along it.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Dec 2022 22:53:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/create-item-on-middle-of-conveyor-via-flexscript/m-p/13519422#M30656</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-12-07T22:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create item on middle of conveyor via FlexScript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/create-item-on-middle-of-conveyor-via-flexscript/m-p/13519423#M30657</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thank you &lt;A rel="user" href="https://answers.flexsim.com/users/226/jason.l.html" nodeid="226"&gt;@Jason Lightfoot&lt;/A&gt; for your answer !&lt;/P&gt;
 &lt;P&gt;I'll try to implement the legacy basic conveyor as it would also help with bidirectionnal conveying. Is there some kind of tutorials for that ? I just did some quick searches and could not find any.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Dec 2022 07:37:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/create-item-on-middle-of-conveyor-via-flexscript/m-p/13519423#M30657</guid>
      <dc:creator>sebastien_b49</dc:creator>
      <dc:date>2022-12-09T07:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create item on middle of conveyor via FlexScript</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/create-item-on-middle-of-conveyor-via-flexscript/m-p/13519424#M30658</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;If you can avoid using the legacy conveyor then do so because it's no longer supported.  I can think of some cases where acceleration/ speed might need to be set per item so in those cases I think the basic conveyor is still applicable.  I don't think there are tutorials but  the &lt;A href="https://docs.flexsim.com/en/23.0/Reference/CodingInFlexSim/CommandReference/Commands.html#bcgetitemkinematics"&gt;commands &lt;/A&gt;are listed in the online help.&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Dec 2022 15:22:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/create-item-on-middle-of-conveyor-via-flexscript/m-p/13519424#M30658</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-12-09T15:22:18Z</dc:date>
    </item>
  </channel>
</rss>

