Can't find how to import as one object or how to merge
Posted
by
Aaron
on Stack Overflow
See other posts from Stack Overflow
or by Aaron
Published on 2012-05-22T17:48:09Z
Indexed on
2012/06/21
3:17 UTC
Read the original article
Hit count: 444
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"
© Stack Overflow or respective owner