Down Behavior Moves Staff Members from Reset Position

Down Behavior Moves Staff Members from Reset Position

tyler_morrison5B36Q
Contributor Contributor
18 Views
1 Reply
Message 1 of 2

Down Behavior Moves Staff Members from Reset Position

tyler_morrison5B36Q
Contributor
Contributor

[ FlexSim 23.0.6 ]

I'm working on a model where I'm studying the utilization of staff members without moving them to the proper locations where their work is performed. One way I do this is by placing them into a grid and changing their color based on their state so that I can tell which staff members are performing which tasks. I'm using time tables and down behaviors to bring them off shift. When I do this, the down behavior is set to cause the staff members to move to their reset position, which should be the same as their current position since they don't move during the model run. However, every staff member moves when the down behavior is triggered. Why is this and how can I have all of them stay in the same spot when the down behavior is triggered? Attached is a simplified model illustrating my issue. Thanks in advance.Down Event Movement.fsm

0 Likes
Accepted solutions (1)
19 Views
1 Reply
Reply (1)
Message 2 of 2

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Instead of the reset position use this for the break location:

downObject.getLocation(0.5,0.5,0)

1681405642995.png

If you do end up moving the staff and want them to return to the starting position you need this snippet - not the option in the picklist:

    Vec3 pos=downObject.resetPosition.location;
    pos.x+=downObject.size.x/2;
    pos.y-=downObject.size.y/2;
    return pos;
0 Likes