question

MarianCretu avatar image
0 Likes"
MarianCretu asked Mischa Spelt commented

Address sub nodes

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.

FlexSim 19.1.1
subnodes
nodes.jpg (153.2 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Mischa Spelt commented
conveyor1.subnodes[1].subnodes[2]

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

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Mischa Spelt avatar image Mischa Spelt commented ·

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

3 Likes 3 ·
MarianCretu avatar image MarianCretu commented ·

Yes I get it. :)

0 Likes 0 ·