How can I access the color_attribute stored for each vertex and store it in an array using Python in Blender 3.4? Using vertex_colors does no longer work (it gives an error that no vertex_colors are stored). In the Blender API it points to using color_attributes instead. How can I access the rgb values stored for each vertex and store them in an array?

enter image description here


1 Answer 1


This is through


where 'Color' is the name of your color attribute.

From that, you have


which can be either 'CORNER' or 'POINT' (respectively 'per face vertex color' or 'per vertex color').



where XXX is the vertex (or the face corner, ie per face) and YYY is the color component (rgb, etc.).

All this is new... not sure to be able to add more details about that...


You must log in to answer this question.

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