question

Jouky D avatar image
0 Likes"
Jouky D asked Matthew Gillespie commented

How to create pop up menus in new libraries?

Hello everyone.

After choosing an object (as the processor) of a library, I want to show some of the subobjects inside it as the pop up in the processor case:

1692709458390.png

How can we add this to not saturate the library with lots of objects and grouping them into one object type?

Thank you!

FlexSim 23.1.3
librarycustom libraryprocesses flow items
1692709458390.png (20.8 KiB)
· 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.

1 Answer

Matthew Gillespie avatar image
2 Likes"
Matthew Gillespie answered Gui Vaccaro commented

Here's an example where I put 4 user library objects under one entry in the library:

MyTaskExecuter.fsl

1693252458319.png

I added the 4 objects to the user library like normal. But then I created a new subnode in the object data of the user library and called it SubObjects. I then copied the 4 objects from under the user library and put them inside the SubObjects node and deleted the originals. Then I added the MyTaskExecuter object and added the subnodes you see above. The main thing is that in the configs node I made an object node for each of my 4 objects and have a droppath node that references it by path. Then I pointed the popOutChoices node of MyTaskExecuter at that configs node.


1693252458319.png (40.9 KiB)
mytaskexecuter.fsl (3.3 KiB)
· 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.