Python 混合对象导入器

Python 混合对象导入器,python,object,import,blender,Python,Object,Import,Blender,首先,我将一个对象文件导入blender,现在执行以下操作: full_path_to_file = os.getenv("temp") + "\\" + self.url + '.obj' bpy.ops.import_scene.obj(filepath=full_path_to_file) #join all before imported objects to a group (not the other objects of the scene) 在此之后,我希望将导入到组中的所有

首先,我将一个对象文件导入blender,现在执行以下操作:

full_path_to_file = os.getenv("temp") + "\\" + self.url + '.obj'
bpy.ops.import_scene.obj(filepath=full_path_to_file)

#join all before imported objects to a group (not the other objects of the scene)

在此之后,我希望将导入到组中的所有对象配对(不加入),这样我可以定位每个对象,这样仍然可以移动单个对象或使用它们制作动画。

我在so上看到了这个问题,这对我解决此问题有很大帮助: