question

Nour B3 avatar image
0 Likes"
Nour B3 asked Jeanette F commented

Problem with "change visual" in process flow

Hello,

The problem is that the change visual command modifies the color of the first object only (box)
for exp, if i have a flow of 15 boxes, only the color of the first box that changes!, what I want is that the color change will be done on all objects (boxes).

Thanks!

FlexSim 22.2.0
proces flowchange visual
· 3
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 @Nour B3,

It's hard to know how to help without looking at your model. To receive a more accurate solution, please post your model or a sample model that demonstrates your question. Please read the note at the top of the page if you have trouble uploading your model.

Proprietary models can be posted as a private question visible only to FlexSim U.S. support staff. You can also contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
Nour B3 avatar image Nour B3 Jeanette F ♦♦ commented ·
0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Nour B3, was Jason Lightfoot'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

·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered

You have an array of boxes in token.item but ChangeVisual doesn't accept an array - so it's just changing the first one. Use token.item[2] etc. in more changevisuals or run a subflow that creates a label on the new token for each item in the array and refer to that in the changevisual within the subflow.

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.