Original Post
I've been having problems for more than a week and I'm way behind on my project. While I've had no problems with plain meshes in the past, I can't get Blender to export my animated model at ALL! I get the error below. I'm completely lost when it comes to python, so I just don't know what to do to fix the problem. At first I assumed there was a problem with the .x exporter script, but now I think it's a problem with the model in Blender. Perhaps something to do with the bones and mesh not being properly linked together, or vertex groups, or... well... I just don't know. I'm learning all of this as I go. Perhaps someone could take a look at my blend file in Blender and let me know if there are any obvious problems? I could email it to you. You have no idea how much I would appreciate it. --------------------------------------------- Compiled with Python version 2.5. Checking for installed Python... got it! exporting... Traceback (most recent call last): File "", line 162, in draw File "", line 76, in my_callback File "", line 388, in SelectObjs File "", line 346, in writeObjFrames File "", line 511, in writeRootBone File "", line 479, in exportMeshArm AttributeError: 'NoneType' object has no attribute 'getData' --------------------------------------------- #*********************************************** #Export Mesh with Armature #*********************************************** def exportMeshArm(self,arm,armob,chobj): tex = [] (479) mesh = ch_obj.getData() self.writeTextures(ch_obj, tex) self.writeMeshcoordArm(chobj ,armob) self.writeMeshMaterialList(ch_obj, mesh, tex) self.writeMeshNormals(ch_obj, mesh) self.writeMeshTextureCoords(ch_obj, mesh) self.writeSkinWeights(arm,mesh) #self.file.write(" } // End of the Frame %s \n" % (ch_obj.name)) self.file.write(" } // End of the Object %s \n" % (ch_obj.name))