Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | TobiLa |
Hi,
I am using blender to create my game models. Since I want them all in seperate files I am spending a lot of time exporting them one by one manually. Is there a way to make the better collada exporter write each of my objects to its own .dae file?
I found this python script to do this with FBX exporter.
Are there similiar functions for better-collada so I can edit this script to work with it?
import bpy
def export_all_fbx(exportFolder):
objects = bpy.data.objects
for object in objects:
bpy.ops.object.select_all(action='DESELECT')
object.select = True
exportName = exportFolder + object.name + '.fbx'
bpy.ops.export_scene.fbx(filepath=exportName, use_selection=True)