question

Ralpho S avatar image
0 Likes"
Ralpho S asked Pedro Ortelani answered

How can I change the container flowitem during a process

Hello, I am trying to finish a 3D packing process, and I noticed that I can see flowitems slipping through my masterbox shape when I change it to "MasterBox Closed".

When I change the masterbox shape to closed ( trigger on exit of combiner 1 ) the Container changes shape, but stays as the same container flowitem. I understand that if I change this element using another trigger, i will mess up the initial the "masterbox opened" properties as well.. (initial container 3D shape).

Is there a trigger to change the container that is carrying the parts to another flowitem? If I could use another flow item I could just remove the flag "show content" and get a masterbox closed on the pallet with no 3D overlap.

If no, any other viable solution to this?

Appreciate it.

Ill attach the model and a screenshot of the problem.

Brs,

basic-moonshine.fsm

FlexSim 20.0.2
container flowitem 3d overlap
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

·
Pedro Ortelani avatar image
2 Likes"
Pedro Ortelani answered

Hello,

This can be solved by adding this piece of code to the onExit trigger from Combiner1.

item.flags.showContent = 0;

I hope that helps!

5 |100000

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

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.