question

William Glp avatar image
0 Likes"
William Glp asked Andrew O commented

How do I change visual by case having labels in PF?

Hi! I want to change my visual by an item label. But I do not understand what to introduce as Value and Object. I have pallets with label name "cliente" and name by percentage.

1666892211484.png

FlexSim 22.2.2
labelstokenschange visual
1666892211484.png (34.4 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.

Andrew O avatar image Andrew O commented ·

Hi @William Glp, was Sebastián Cañas's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Sebastián Cañas avatar image
0 Likes"
Sebastián Cañas answered

The field Value means the value (either numeric or string) that will be evaluated; this value could be stored in a label, from example. Object refers to either the Fixed Recourse or Flow Item that will be edited.

Attached it is an example using that Property, where the color of the Box being created is changed according to the label assigned to it.

token.item //It's the reference to the flowitem in PF
token.item.Type //It's the reference to the label being created within the flowitem (could be either A, B or C based on the percentages of the empirical distribution

ChangeVisualPFByCase.fsm


5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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