question

sang avatar image
0 Likes"
sang asked Phil BoBo commented

How to change the 3d shape of items from the Separator respectively?

This is my model. change the 3d shape.fsm


I want to change the 3d shape of items that are duplicated from the Separator respectivey before or when they begin the separation on the Separator, not when they arrive in the Queue.

so on the picture, two persons should already be looked in different shape each other. How can i do that


please help.

FlexSim 19.0.0
flexsim 19.0.0separator3d shape
figure-1.png (438.1 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.

1 Answer

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Phil BoBo commented

The split action is a result of the exit event. You change the shape accordingly in on Exit trigger. Maybe you do this depending on the variable port.

Action by Process Flow change-the-3d-shape-jv.fsm

If you want a working property then please copy from a 3d object trigger the source code into the code editor of process flow activity. But do this only for the picklist block.


· 6
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

@Phil BoBo, unfortunately the process flow template property change 3D-shape doesn't work.There is a slight difference in the template code to a 3D model trigger

sets(shape(involved),shapename); // works, from a trigger template
setname(shape(involved),"_shape"); // does NOT work from process flow property

Missmatch still valid in FlexSim 21.0.4 template_bug_ PF_vs_trigger_change_shape.fsm

2 Likes 2 ·
sang avatar image sang Joerg Vogel commented ·

I understood. thank you very much!

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Joerg Vogel commented ·

Thanks for pointing this out. I'll add a case to the dev list.

0 Likes 0 ·
sang avatar image sang commented ·

Thank you!

but how do i target to change the shape of item by the port?

as shown in the picture, you can select the item or the object(connected to current e.g. Queue), so it will change the shape of two items at the same time. i want to change the shape of items receptively depending on the port.

0 Likes 0 ·
exit-trigger.png (209.5 KiB)
Joerg Vogel avatar image Joerg Vogel sang commented ·

@sang, edited my answer and added a model.

0 Likes 0 ·
sang avatar image sang Joerg Vogel commented ·

Thank you very much! This is exactly what i wanted.

0 Likes 0 ·

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.