question

Tam P avatar image
0 Likes"
Tam P asked Tam P commented

How do i animate my operators?

kodiak-pollock-current-00271218-1.fsmI want to animate my operators at the conveyors to the "use tablet" visual animation. I click on the operator, go the general tab, on the Visuals/Animations section under appearance I click Edit. Once the Operator tab opens, I go the Animations and Components tab below, then I select and animation to add to the components. I do this under the Triggers. After this I do not know what to do or if what i did is correct.

FlexSim 18.1.1
operator animation
5 |100000

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

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Tam P commented

I updated your model to use an instanced Process Flow that all the conveyor operators are attached to. This process flow, at the start of the model, starts the Use Tablet animation on all the operators and tells the animation to repeat indefinitely. You can attach more operators to this flow or remove any that I attached. An instanced process flow like this would allow you to control more of what each individual operator does throughout the model run. For example, you could have the operator start and stop various animations depending on what they're working on at the moment.

You could also achieve similar results by putting the code Jacob gave you in the On Reset trigger of all the operators you want to animate.


· 1
5 |100000

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

Tam P avatar image Tam P commented ·

Thanks, I will look over what you did. Awesome.

0 Likes 0 ·
Jacob Gillespie avatar image
1 Like"
Jacob Gillespie answered Tam P commented

The code would be something like this:

current.animations["Walk"].start();
· 3
5 |100000

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

Tam P avatar image Tam P commented ·

How would i go about loading the code? What format do i save the code in? I assume i click on load, the upload the format then it should work?

0 Likes 0 ·
Jacob Gillespie avatar image Jacob Gillespie ♦ Tam P commented ·

Use the above code in a trigger on the operator.

I'm not sure when you want this animation to happen. Do you want the operators to just continuously look at their tablets when the model starts?

There is also a ProcessFlow activity you can use (Run Animation) to run your custom animation.

0 Likes 0 ·
Tam P avatar image Tam P Jacob Gillespie ♦ commented ·

I will give it a try thanks

0 Likes 0 ·