Changing flowitem in a fixed resource

Changing flowitem in a fixed resource

alberto_m7
Not applicable
100 Views
5 Replies
Message 1 of 6

Changing flowitem in a fixed resource

alberto_m7
Not applicable

[ FlexSim 19.0.0 ]

Hi,

I'm testing Flexsim, I created two custom flowitems and now I need a processor, conveyor or any other resource where I can swap or change a flowitem for another.

It's very simple, a flowitem enters and a different one comes out.

Many thanks.

0 Likes
Accepted solutions (1)
101 Views
5 Replies
Replies (5)
Message 2 of 6

tanner_p
Not applicable
Accepted solution

Hi @Alberto M7,

You can do this using Process Flow or you could use 3D objects with triggers. The idea is that you will use an event, like "On Process Finish", to trigger the destruction of the original Flow Item and the creation of a new one. You could also just change the visual if you want to keep the original item labels and data.

I've created a simple example of the second option using Process Flow. The Event-Triggered Source listens to "On Process Finish", at which time, the Change Visual activity alters the 3D object.

When you do this, however, you may have to adjust the size and rotation of the object. Hopefully this helps!

change-3d-shape.fsm

0 Likes
Message 3 of 6

alberto_m7
Not applicable

At the moment I'm using 3D objects. I can find the trigger but not the action for destruction-creation of items...

24617-2020-01-03-19-47-15-flexsim-2019-fabrica-2fsm.png

Should I use programming code?

Thank you again.

0 Likes
Message 4 of 6

tanner_p
Not applicable

@Alberto M7,

If you look in my example model, you will notice that I used a default Change 3D Shape function in the trigger. I added this in place of the Process Flow trigger in the example model so you can review this.

24620-change-3d-shape-trigger.png

change-3d-shape-trigger.fsm

0 Likes
Message 5 of 6

alberto_m7
Not applicable

Exactly, I found in your model how to change the 3D shape, but my flowitems have 3D texture too and I need to replace the entire item... I can't find how to replace the texture, only the 3D shape.

Thanks for your help.

0 Likes
Message 6 of 6

tanner_p
Not applicable

Here's a Process Flow example that destroys the old object and creates a new one. It should work for your purposes.24623-destroy-create-object.png

change-3d-shape-pf.fsm

0 Likes