question

Sinisa avatar image
0 Likes"
Sinisa asked jing.c answered

Animation on Box doesnt work ?

@jing.chen

Hey,

Can someone help me please , the problem is that the conveyor should change the colour of the box (the shape of the box is changed) , but this doesnt happen, i tried everthing.

Thanks guys

FlexSim 17.1.2
animationcolourontrigger
box.png (336.0 KiB)
1.fsm (38.0 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

·
jing.c avatar image
1 Like"
jing.c answered

Hi Elisabeth.

You need two command: setanimationvar() and startanimation() which you can find OnEntry trigger from my model here(click button to open the code editor).

But in your attach model, the situation become more complicated(or more simple base on what you want to achieve).

You want the item change its color during moving along the conveyor(Is that right?) If so, you could add "change color" animation at an invisible item which the component is the true 3d appearance.

change-color-along-conveyorv17bychj.fsm

Hope this model will help you.


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.