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$
1
  • $\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
    Commented Feb 21, 2019 at 12:03

1 Answer 1

1
$\begingroup$

You can change the Display Mode in Solid View, and pick Object.

$\endgroup$
1
  • $\begingroup$ Hi, thanks for the post. This site is not a regular forum, answers should be substantial and thoroughly explain the solution and required workflow. One liners and short tips rarely make for a good answer. If you can edit your post and provide some more details about the procedure and why it works feel free to restore it, otherwise it may be deleted or converted into a comment. Perhaps add a few images illustrating the workflow and final results. See How do I write a good answer? $\endgroup$ Commented Apr 2, 2022 at 2:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .