Address sub nodes

Address sub nodes

mariancretu_v
Not applicable
174 Views
3 Replies
Message 1 of 4

Address sub nodes

mariancretu_v
Not applicable

[ FlexSim 19.1.1 ]

nodes.jpgHello all,

How can i address to a box on a pallet on a conveyor ?

I could find for the firs pallet : conveyor.subnodes[1] or [2] for the second pallet, but I couldn't find for the box.

And also if I have a box inside a box on a pallet on a conveyor ?

Thank you.

0 Likes
Accepted solutions (1)
175 Views
3 Replies
Replies (3)
Message 2 of 4

joerg_vogel_HsH
Mentor
Mentor
Accepted solution
conveyor1.subnodes[1].subnodes[2]

It is the second item of the first container item on the conveyor. I think you get it now.

0 Likes
Message 3 of 4

mariancretu_v
Not applicable

Yes I get it. 🙂

0 Likes
Message 4 of 4

mischa_spelt
Advisor
Advisor

Also note the "shortcuts" current.first for current.subnodes[1] and current.last for current.subnodes[current.subnodes.length].