question

Flavio Lopes avatar image
0 Likes"
Flavio Lopes asked Flavio Lopes answered

Add a object created by the process flow in a group

In this simulation, I need a feature that adds each new 3D object created by the Process Flow to a Group. What is the best way to implement this feature?


Example1.fsm

FlexSim 25.0.4
process flowgroups
example1.fsm (29.6 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.

Gustavo Teodoro avatar image
0 Likes"
Gustavo Teodoro answered Gustavo Teodoro edited

First, create a Group in which the items will be placed.

Next, incorporate the following command into the process flow:

Group("Group1").addMember(token.pier);

1743530790608.png

Please refer to the attached example for further clarification.
example1_solution.fsm


1743530790608.png (109.6 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.

Flavio Lopes avatar image
0 Likes"
Flavio Lopes answered

Gustavo,

After add the new object to the Group I want to use it as a Resource, but when I tried to Acquire Resource, the simulation doesn't seen to understand that are Resources avaliable in the Group, do you have a sugestion of what I have to do in this case?


Example 1.fsm


example-1.fsm (2.8 MiB)
5 |100000

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