I am trying to refer to an item that is loaded on to an operator. I used load activity to load "cart" flow item. How do I refer to this cart? I tried using subnodes[1] but that does not seem to work. Below is the picture of model tree
I am trying to refer to an item that is loaded on to an operator. I used load activity to load "cart" flow item. How do I refer to this cart? I tried using subnodes[1] but that does not seem to work. Below is the picture of model tree
Hi @Rahul R, was Joerg Vogel's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.
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.
But this code is correct. You need only combine it with a reference of this operator. The operator is the container or start node of subnodes.
Your token may have a pointer to the operator already in which case it's:
token.operator.first
which is equivalent to :
token.operator.subnodes[1]
But if you've told the operator to load the cart then you should have already stored a reference to it on a token label too.
Also, in general I would expect the operator unload the cart somewhere (into a fixed resource or the model root) before loading with items, then you can see the operator collect from a rack and place in the cart as two movements.where the cart is stationary. It's up to you though.
14 People are following this question.
© 1993- FlexSim Software Products, Inc. All Rights Reserved.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.