Get the position of a vertex with mix shape keys

hi,
i try to get the position of a vertex from a mesh with some mixed shape key, i found this post from 2014 but it not work for me and it give me the same position every time…

so how can i get the vertex position with mix of shape key?

you need to use the object’s evaluated_get function and pass in the depsgraph reference from the current view_layer.

my_object.evaluated_get(context.view_layer.depsgraph).data.vertices[0].co

1 Like