question

Santiago T2 avatar image
0 Likes"
Santiago T2 asked Joerg Vogel commented

Treenode_error

Greetings,

I am modeling a process in which I use forklifts to load and unload products. For unloading, I have created a process flow so that the operators take the products to the queues that have the names "Sector1, Sector 2..." .

But when assigning them to the destination I get an error, I have searched for similar information but without results

I hope your help community!

1701833677102.png

1701833799591.png

FlexSim 23.2.2
proces flowtreenodeflexscrip
1701833677102.png (32.4 KiB)
1701833799591.png (16.7 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 Joerg Vogel commented

Method find(“only_one_object_name“)

if you are unfamiliar with the syntax of properties, methods and commands, then please read about them in reference section in manual.

· 4
5 |100000

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

Santiago T2 avatar image Santiago T2 commented ·

I've looked in the manual and also in other similar questions in the community Array overload of model.find? - FlexSim Community.

But the error still appears.

Can you show me an example of how to link multiple objects using Model.find("name") or if there is any other way to do it


0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Santiago T2 commented ·
How would that work then - unloading an item to two objects? Answer - it won't.


You can add an array label that has pointer data to multiple objects but it's not going to solve an incorrect instruction like the one you're attempting.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Santiago T2 commented ·

@Santiago T2, you mentioned a question. But the syntax for findmany method was only a suggestion and it isn’t currently available. I’m sorry, method find has got only one parameter to parse into it.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Joerg Vogel commented ·
@Santiago T2, if you want to link one of many treenodes, you can work with resource structures like a list.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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