Im currently trying to access all selected objects from a pyhton script, like so;
Code: Select all
from Blender import *
#Pull in the selected object information...
#If the user has selected some objects, get to work ....
#The user has selected something!
for Working_Object in Selected_Objects:
#Scan through each of the objects available, grab the object in question
#If its a usable type ...
#<<< problem!?! >>>
#No work to do, exit!
print "Nothing selected!."
Now my problem is, how can I tell a non mesh object (Mesh & empty) apart from a curve (and other blender object types)?
When trying to access .data of a curve/surface (for example), I get a python module missing error
All I want to be able to so is skip non mesh objects in the selection, any pointers or ideas would be ace