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.

Joerg Vogel avatar image Joerg Vogel commented ·
  • Exchange texture bitmap:
  • add an drawsurrogate object in animation creator to enhance objects at items.
  • try to add a opnengl pane to your object
  • insert a plane object into your item

my favorite is an added object in animation creator

0 Likes 0 ·
Ankur A3 avatar image Ankur A3 Joerg Vogel commented ·

Hi @Joerg Vogel,

Thanks for your suggestion!

I don't have much idea for the options given. Can you share model with the easiest way to do it?

Thank you!

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

Hi @Ankur A3, 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
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.