I have donwload a model of a vessel container and want to add dynamic components so the color modifies when you click on a component. see picture below. every thing seems to be ok
So i taught everything was ok but when i activate the interact button to test the switch color green <=> color red. the color of the component does not change. But in the component attibutes the switch is ok. What am i doing wrong
Every colour option that you want, must be “in model”.
Try this, make some random face, paint it Green. Hide it.
Now try your dynamic options.
For my dynamic models, I’ve created (and hidden within my model) a small object with each side painted in the colours I use for my objects so that they’re always present even when I copy the model to another file.
So here’s the confusing part:
If you have a cube with no colours, and group it. You can then paint the group. When you enter the group, you can also paint on a face.
Painted face overrides Group paint
Your cube is painted red on the actual faces, not group.
So when the dynamic option tries to change the group colour to green, it can’t because the face colour is overriding the group colour. I hope this makes sense.
So go into your component, and paint back the default blank. Then try it.
Could this be due to the dominance rules about colors applied to entities nested inside Groups or Components? That is, if you apply a non-default material to a nested entity, it will be displayed in that color even if it is nested inside a Group that is also non-default color. Conversely, any nested entities that have the default material will be displayed with the color painted onto the Group that contains them.
It is ok
I have painted first the whole group in default colour and then added the attributes and it works
Thanks this was really hard to find
Thanks
Another question, i want to plug this model into a website, this works with 3d warehouse so this one is solved. but then… so let me say 50 parts are on the screen and a user clicks on 2 of them . those turn red (selected). The ni want to read the model and look for the selected red ones. How can i do this on a website with javascript ???
I will bring back the topic, as my problem is similar:
is there any plugin to let me paint a painted group? I’d like to override group paint over face paint and change a group’s color with just one click.