Can't find how to import as one object or how to merge
- by Aaron
I need write a script in blender that creates some birds which fly around some obstacles.
The problem is that I need to import a pretty large Collada model (a building) which consists of multiple objects. The import works fine, but the the building is not seen as 1 object. I need to resize and move this building, but I can only get the last object in the building (which is a camera)...
Does anyone know how to merge this building in 1 object, group, variable... so I can resize and move it correctly?
Part of the code I used:
bpy.ops.wm.collada_import(filepath="C:\\Users\\me\\building.dae")
building= bpy.context.object
building.scale = (100, 100, 100)
building.name = "building"