How to join meshes

Hi everyone. I am writing a big script that will hopefully convert 100’s of models from OpenSceneGraph to Ogre. Can someone please help me join meshes using Python?

I need to select all the meshes in the scene and join them so I can export them as one.

Thanks,
Gareth

in object mode:

bpy.ops.object.join()

joins all selected objects

see here for info on the operator: http://www.blender.org/documentation/250…

hope that helps

Ha, thanks. I was trying not to upgrade to 2.5, but I did and now I see that the command is right there on the button! Thanks.