question

jessica S2 avatar image
0 Likes"
jessica S2 asked Braydn T answered

Label

.I need to change the color of 10 elements in the process flow. Is it possible to assign a label and use a condition to use only one process? If this is not possible, how can I assign the label to know what the type is?model-2.fsm

FlexSim 19.1.0
label
model-2.fsm (2.7 MiB)
5 |100000

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

Braydn T avatar image
0 Likes"
Braydn T answered

@jessica S2 In your change visual activity, you have change token. or change toke. to a different color. The 3D box is referenced in token.item. You should have the Object field in the change visual activity be token.item. Also, if you have two change color activities, but no case for the software to choose which color, they will default to the second option (White). You will need to assign a label with a value, maybe in your source, and then have a Color.byNumber() with the label value in the parentheses.

5 |100000

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

zacharyh avatar image
0 Likes"
zacharyh answered Braydn T commented
@jessica S2

To change the color of the tokens you can click anywhere in Process Flow and then on the right hand side under Quick Properties click on "More Properties". Then click on the tab "Visualization" and then under Token Colors you can select that it will match the item color.

Yes you can add labels to tokens.


assign-label.png (19.2 KiB)
· 2
5 |100000

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

jessica S2 avatar image jessica S2 commented ·
model-2-copia.fsm Quiero cambiar el color del cuadro, no del token. Mi problema con mi etiqueta es que cuando uso el cambio visual, veo que la etiqueta dice que no existe ¿Podría explicarme cuál es mi error?
0 Likes 0 ·
model-2-copia.fsm (2.7 MiB)
Braydn T avatar image Braydn T jessica S2 commented ·

In english: I want to change the color of the box, not the token. My problem with my label is that when I use the visual change, I see that the label says it does not exist. Could you explain what my mistake is?

0 Likes 0 ·