change flowitem through processor

change flowitem through processor

kylian_k
Not applicable
44 Views
6 Replies
Message 1 of 7

change flowitem through processor

kylian_k
Not applicable

[ FlexSim 21.2.4 ]

hi all, im trying to get it so that the flow item going into a processor changes to a custom item when it comes out. it doesnt really matter to me what goes in (could be a box) just what comes out is important to me. i have already created the custom flow item just the part where the processor changes to it is hard to me.

for example i would like it to start as object a and change into object b when it comes out of the processor.

can anyone point me in the right direction on where to look for this option?


1638526926899.png

0 Likes
Accepted solutions (1)
45 Views
6 Replies
Replies (6)
Message 2 of 7

mischa_spelt
Advisor
Advisor
Hi Kylian, can you provide an example model or some more details? Such as: do you want to preserve any labels on the existing flow item? Are you using Process Flow or 3D only? What is different about the custom flow item, just the shape or also packing strategy, animation components, etc.?
0 Likes
Message 3 of 7

SCHamoen
Advisor
Advisor
Accepted solution

@Kylian K Usually in these situation you only want to change the way a flowitem looks. And flexsim gives multiple options to do that. If you add an onexit trigger to the processor and you select the option visual you find the options Change 3D Shape or Change Shape Frame. To learn more about Shape frames read this part of the manual: link



Message 4 of 7

kylian_k
Not applicable
hi thanks for your reply, how do i use an onexit trigger? where do i find this? to use the change 3d shape option? because when i use the shape frame option, it changes the dimensions of the item i want to change the box into.
0 Likes
Message 5 of 7

kylian_k
Not applicable

hi i have added a screenshot of what i mean hope it makes it a little more clear.

have tried it through change shape frame but it changes the dimensions of object b to the dimensions that object a has which it shouldnt in my simulation.


0 Likes
Message 6 of 7

mischa_spelt
Advisor
Advisor

You can add On Exit in the Triggers panel of the processor:

1638527594700.pngand after the change shape, use the "Visual --> Set Location, Size or Rotation" action to set the size as well.

ChangeShape.fsm

0 Likes
Message 7 of 7

kylian_k
Not applicable
hi this works, thank you very much for your help
0 Likes