I'm really newbie at blender. So I want to change an object from a python script.

If I create a new project (Ctrl+N) and open python console, I can changing position of vertices:

bpy.data.meshes['Cube'].vertices[0].co.z += 20

But if I'm using .blend file with mesh from here: http://www.blender-models.com/model-downloads/humans/id/head-mesh/ I can changing vertices too

but I don't see anything new at 3D view window. enter image description here

What I'm doing wrong.


1 Answer 1


Please try your statements with the 3D View Window in object mode not edit mode.

enter image description here

  • 2
    $\begingroup$ An explanation of why this needs to be done might be helpful. $\endgroup$ Dec 23, 2015 at 14:37
  • $\begingroup$ You might add that in the comments $\endgroup$ Dec 23, 2015 at 14:44
  • 2
    $\begingroup$ Well, you obviously know why otherwise why would you suggest them to do that? I'm just suggesting to flesh the answer out a bit. $\endgroup$ Dec 23, 2015 at 16:00
  • $\begingroup$ I do [not] know why everything happens in Blender at the software text level because I read approximately 00.00 % of the software text by choice. I may have a good educated theory. I answered to get him one step further. It is always a question of whether to write for the poser or some unknown readers. I estimate there will be few readers. Thus the short answer. Perhaps I want to hear your explanation. $\endgroup$ Dec 23, 2015 at 16:52

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.