question

David H3 avatar image
0 Likes"
David H3 asked David H3 commented

Change animation drawsurrogate object

Hi everybody,

it's probably an easy problem, but I couldn't solve it for hours now. I'm not that experienced to flexsim though.

I have a model with process flow and I have people carrying around objects. However, I want the obejcts (in the example below a box) to belong to the people's animations as a drawsurrogate, because of several reasons. Now that I have that, I want the drawsurrogate object to change or to disappear when the person arrives at a cetrain point in the model (here queue 1).

I would be really thankful if someone could help me, I attacht an example model below.

Kindly , David

example.fsm

FlexSim 18.1.2
animationvisualsdrawsurrogate
example.fsm (132.9 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

Joshua S avatar image
1 Like"
Joshua S answered David H3 commented

You will want to add the box or whatever object as a animation variable as shown in the picture below. I replaced your Change Visual with 1 line of custom code that turns off the visuals of the surrogate object.

18000-example.fsm


pic1.png (8.9 KiB)
18000-example.fsm (23.8 KiB)
· 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.

David H3 avatar image David H3 commented ·

Hi Joshua,

brilliant thank you, everything worked as wished!

0 Likes 0 ·