Hi !
I would like to create a flowitem via Flexscript in a ProcessFlow and place the item on a defined position on a conveyor.
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.
Am I missing a step ?
Here is the code I used:
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);