I managed to import object in Python but couldn’t find info on how to append a whole collection.
Like so::
def execute(self, context):
path = os.path.dirname(__file__) + "/NMS/LightRigs_02.blend\\Object\\"
object_name = "Old_backdrop"
bpy.ops.wm.append(filename=object_name, directory=path)
return {"FINISHED"}
Any idea how that goes for collection? Let’s say I want to append Backdrop_01.
(Api documentation : https://docs.blender.org/api/blender2.8/bpy.ops.wm.html?highlight=wm%20append#bpy.ops.wm.append )