Python API for Collada import

Hi :slight_smile:

I’m quite new to blender. So, please bear with me…

I’m trying to batch import a series of collada files. Hundreds.
I’ve already got some simple python scripts running inside Blender. Also, I’ve seen in:

some import interface to different file types. However, I can’t find the API to import Collada.

Can access the collada import through the python API? If I can’t, is there any workaround to what I want to do?

I’m running Blender 2.59, in Windows.

Thank you in advance,

Maybe this helps?
Import collada addon and save it as Default
thereafter bpy.ops.wm.collada_import() should be available callable from a python-def … activating it calls the open-window … so that you have to find out giving the command the filename you want to import ?

Thanks for the answer, but I did not try that, because meanwhile I found a solution:

  • when using the menus of blender to import Collada (File > Import > Collada (.dae) , if you hover over the Collada option with your mouse pointer, Blender shows you a tooltip with the python command. I copied it to the python shell, hit CTRL + Space, and it gave me the method signature… :slight_smile:

All is well :),