how do I create different type but each type are same color clothe patients?

how do I create different type but each type are same color clothe patients?

chaochiang_c
Not applicable
3 Views
1 Reply
Message 1 of 2

how do I create different type but each type are same color clothe patients?

chaochiang_c
Not applicable

[ FlexSim 21.0.3 ]

how do I create different type but each type are same color clothe patients?擷取.png




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

moehlmann_fe
Observer
Observer
Accepted solution

The clothes the patients wear and their color is decided in the "Random Appearance" activity in the "Arrivals Flow". To have the color depend on the type label you can use "Color.byNumber(token.Type)" when setting the object color.

You can use the same for the shirt and pants color or enter -1, which means the object color will be used.

1641279780074.png

PatientColorByType.fsm