question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Jeanette F commented

Two different Color on Same Item?

Hi Team,

I am working on model where item has to pass through 2 processes. First process gives it red color and second process gives it green color. For the purpose of visual verification, I am planning to showcase both the color on item once process is finished as below:

1655707667781.png

Is there any way to do it?

20.06.2022_2ColorOnSameItem.fsm

Also, how can be scale it up for more colors if required?

Thank you!


FlexSim 21.0.10
itemvisualcolor
· 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.

1 Answer

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered

drawsurrogate objects are added in animaition creator. It is a tool in more visuals from quick properties pane of a selected item. If you want to change it globally, you make a copy of box item in flow item bin and heighlight your copied item. Select more visuals then. Edit in Visuals/Animation opens the animation creator. We won't add animations, just more objects. Click green plus icon next to components left bottom section. You get an box object each time with a dimension of 1x1x1. You highlight the object eg. object0 and adjust size to 0.2 0.2 0.1 and location to 0.1 -0.1 0.3. A smaller box in a blue color tone is above your brown box item.

The reference to this drawsurrogate object is in an trigger 'item.attrs.drawsurrogate.subnodes[1]'

set_color_drawsurrogate_object_on_item.fsm


set-color-drawsurrogate-object-on-item-1.jpg set-color-drawsurrogate-object-on-item-2.jpg


5 |100000

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