Errors With Python

(TurboG) #1

Ok.To start, I have never downloaded anything python except Blender. If I should download somthing else include a link.

Now, the problem. I start up my blend with everything ready and I press ALT+P and nothing happens…I check the Doss Log thingy and it says this:

Traceback (most recent call last):
File “”, line 40, in ?
AttributeError: ‘none’ object has no attribute ‘data’

Can anyone explain how to make this work? Thank you.

(TurboG) #2

This same script works on a different model…

(eeshlo) #3

Check that you used the name of the object, not the name of the mesh. So the name you see in the edit button section (F9), next to ‘OB:’
Other then that, it only works with meshes, so you can’t use surfaces or curves for instance.

(TurboG) #4

Thank you man! You’re the greatest! That solved my problem totaly!