Remove patient's sit idle animation

Remove patient's sit idle animation

maryamh11
Collaborator Collaborator
726 Views
3 Replies
Message 1 of 4

Remove patient's sit idle animation

maryamh11
Collaborator
Collaborator

[ FlexSim 22.0.0 ]

Hi there,

In my model, I’d like to remove the wiggling behavior of patients when they sit idle. I did that before in previous versions by going to the Man/Woman flow item bin > More Visuals> Edit and removed “SitIdle2” animation. When I do this in the current version, I see the model is running but I’m getting constant errors as shown below. How can I resolve this?


Error: No animation named "SitIdle2" found for "Patient Flow_FS_UPDT2_42". At run animation activity "Start Animation" in process flow "Enter Location".time: 65.352991 exception: FlexScript exception: MODEL:/Tools/People/Flows/Activities/Enter Location/More Instructions?>variables/decision

Error at time 70: No animation named "SitIdle2" found for "Patient Flow_FS_UPDT2_28". At run animation activity "Start Animation" in process flow "Enter Location".time: 69.849753 exception: FlexScript exception: Invalid down cast. Object is not an instance of the target type. at MODEL:/Tools/People/Flows/Activities/Enter Location/More Instructions?>variables/decision

0 Likes
Accepted solutions (1)
727 Views
3 Replies
Replies (3)
Message 2 of 4

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

You shouldn't delete the SitIdle2 animation. Either change the Enter Instructions of the chairs so they don't call that animation or remove the animation clip from the SitIdle2 animations.

Change Enter Instructions

Here's how to remove the idle animation from all the chairs in a MultiLocation object. First click on the MultiLocation and check the Edit Mode box. Then click on one of the chairs and press the Edit Enter Locations button.

Change the Template to Custom then scroll to the bottom and press the red X to remove the last instruction that starts the idle animations.

1638992601153.png

You can then copy these modified instruction to all the other chairs by selecting all the other chairs in red (using Shift-lasso or Ctrl-clicking), clicking on the first chair you modified so that it's highlighted yellow, and then clicking the copy button next to the Edit Enter Instructions button:

1638992893528.png

Now none of the chairs in this waiting room will ask patients to play an idle animation.

Remove Animation Clip

Right click on the Man shape in the FlowItem Bin and select Animations to open the animator window. Choose SitIdle2 from the combo box at the bottom. Right click on one of black diamonds in the animation clip and then click the Delete key on the keyboard.

1638993239422.png

This deletes the animation clip and you can now close the animator.



Matthew Gillespie
FlexSim Software Developer

Message 3 of 4

maryamh11
Collaborator
Collaborator
@Matthew Gillespie Thanks! that worked.

Is there any way to do the first step( Edit and Copy Enter Instruction) for several multi-locations at once or should it be done one by one?

0 Likes
Message 4 of 4

Matthew_Gillespie
Autodesk
Autodesk
@Maryam H2 Yes, just select all the objects you want to change in red and then push the copy to selected button.


Matthew Gillespie
FlexSim Software Developer

0 Likes