# python and armature

**URL:** <https://blenderartists.org/t/python-and-armature/301808>\
**Category:** Python Support\
**Created:** [December 23, 2002, 12:23pm UTC](https://blenderartists.org/t/python-and-armature/301808 "2002-12-23T12:23:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blacky](https://blenderartists.org/letter_avatar_proxy/v4/letter/b/6de8d8/32.png) [@Blacky](https://blenderartists.org/u/Blacky)\
**Post date:** [December 23, 2002, 12:23pm UTC](https://blenderartists.org/t/python-and-armature/301808/1 "2002-12-23T12:23:22Z")

</div>

I’ve already asked about it, probably in 2001. Can’t find that post ☹  
I have animation made with armature. I want to export vertex coordinates to file. I use following commands:

for object in Blender.Object.getSelected():  
(…)  
mesh=object.data  
(…)  
for v in mesh.verts:  
file.write("%f %f %f  
" % (v.co.x, v.co.y, v.co.z))  
file.write("%f %f %f  
" % (v.no.x, v.no.y, v.no.z))  
file.write("%f %f  
" % (v.uvco.x, v.uvco.y))

The problem is - saved coordinates are valid, but without armature transformations. Is there any way I can read in Python coordinates of mesh changed by moving bone?

---

<div class="post-metadata">

**Author:** ![eeshlo](https://blenderartists.org/user_avatar/blenderartists.org/eeshlo/32/51_2.png) [@eeshlo](https://blenderartists.org/u/eeshlo)\
**Post date:** [December 23, 2002, 12:55pm UTC](https://blenderartists.org/t/python-and-armature/301808/2 "2002-12-23T12:55:02Z")

</div>

edit: too quick, wrong again, I mean:

```auto

mesh = Blender.NMesh.GetRawFromObject(object.name)

```

---

<div class="post-metadata">

**Author:** ![trevs](https://blenderartists.org/letter_avatar_proxy/v4/letter/t/b782af/32.png) [@trevs](https://blenderartists.org/u/trevs)\
**Post date:** [March 3, 2003, 6:22am UTC](https://blenderartists.org/t/python-and-armature/301808/3 "2003-03-03T06:22:13Z")

</div>

Hi Blacky\_

Did you manage to export the deformed mesh.  
If so could you give me some tips on haw to do it.

Cheers
