1
$\begingroup$

Usually I change an object's color by assigning a material to it. But I also noticed that objects have a color property which can be modified in the user interface with

Properties -> Object -> Display -> Object Color

and in Python with

bpy.data.objects['object_name'].color

However, neither of these methods seems to change the object's color in the 3D view or in a rendered image.

So, is there a way to use the color property to change an object's color? If not, what is the color property for?

$\endgroup$
  • $\begingroup$ You can set the Colour shown in Solid and Textured mode via the interface Material -> Settings -> Viewport Color. So the same property will be in the material via Python not the object. Not sure what the Object Color is, tool tip[ says used when in ObColor mode. $\endgroup$ – rob Feb 21 at 12:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.