I have created a dynamic componat that has 2 options to change the materials on 2 diffrent parts in the componant.
What I want to do i just to make 1 option that switches the materials on both those parts with the same option.
It has to be 2 different materials for the 2 parts.
Here is a link to the file: File Dropper - Online file sharing
Use an If Statement in the materials.
If the Parent (overall) option says Material 1
Then the 2 parts’ materials will be whatever 2 different combo you want
Thanks for the quick reply, however Im not able to get it to work. Im getting this error message when I put in the function. I probably have the wrong function or something, can you tell me whats wrong?
For the Topp, Material = (then click on the Custom Topp value) then hit Enter. After this, when you change the top material in the UI and click Apply, it changes.
Well the thing is:
Lets say I have component of two cubes, Cube 1 and Cube 2.
When I select color scheme “A”, Cube 1 will be Red and Cube 2 will be Green.
When I select color scheme “B”, Cube 1 will be Blue and Cube 2 will be Yellow.
This is the principle that I am after, I dont want change the cubs materials separately.
Hey, not on a computer to check, but it’ll be something like this:
The parent attribute:
Custom Atttribute: a dropdown menu where you assigned Scheme A a value of A
Child attribute for Cube 1
Material= IF(Parent!Custom=“A”,ColourRed,ColourBlue)
Child attribute for Cube 2
Material= IF(Parent!Custom=“A”,ColourBlue,ColourYellow)