question

Derick T3 avatar image
0 Likes"
Derick T3 asked Jeanette F commented

Assing color label,

Tengo un problema, quisiera mandar mis productos tanto por porcentajes y por colores, como puedo realizar esto en process flow.

I have a problem, I would like to send my products both by percentages and by colors, how can I do this in process flow.Problem label.fsm

FlexSim 22.2.2
labelscolor
problem-label.fsm (30.2 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Derick T3, was Joerg Vogel'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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jason Lightfoot edited

It is better to send items by a label number value and assign a color by this value to items. A default variant of this approach is a label called Type.

A color is a result of red, green and blue values. It gets complicated to compare three values rather then only a single value in a label.

· 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.

Derick T3 avatar image Derick T3 commented ·

How can i assign color by value to items ?

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Derick T3 commented ·

Use the Change Visual activity:

1669250179349.png


And you can compare colors easily too in a condition:

item.color==Color.red
1 Like 1 ·
1669250179349.png (15.1 KiB)