I thought this was going to be easy and when i tried to apply generic color in solid mode to multiple objects it’s only changing the color of the first selected one!
So is there a more clever way since having to click on 1000 objects to assign a single color is tedious to say the least?
The second would be setting a color in the material under viewport display, this applies to the solid mode, then hit Ctrl+L with the active object being the one with the material and link materials.
Ctrl+L linking mesh data is also useful when you have lots of objects and you want to make them all instances or change the model, etc…
Hi Ricky and thank for replying but i already know about random but i need to assign them to specific objects and so far the only way i found is to attach them then color them and separate making 3 different operations for something that should take only one.
I already knew about the single option but it is coloring the whole scene the same color so this one is no go.
I have tried the ctrl+L and i tick every single option in drop down and the second cube stay the same color.
So far the only way i found is not efficient at all, i have to attach them then color them and finally separate them and finally i have to re assign all pivot point to their respective origins.
for o in bpy.data.objects:
if(o.type == ‘MESH’):
if((o.color[:4] == (1,1,1,1)) or (o.color[:4] == (0,0,0,0))):
o.color = (random(),random(),random(),1)