I'm trying to write an exporter for Blender.
This is pretty much the first week I'm trying Blender.
However, here is my problem:
I'm going through all objects in the scene and I just want to
export meshes, not lamps or cameras.
so I wrote:
for obj in self.scene.getChildre():
But I want to check if obj is a mesh first. In the old API you could write Blender.IsMesh(obj) but it's not possible in 2.27, I get an error
Is there any other way?
The first thing you wrote works fine, thx