I have a group of objects named
MyGroup. I can add a group instance with
Shift+A -> Group Instance -> MyGroup, but I can't figure out how to do it from python scripting.
I'd like to add an instance of MyGroup, calling it by it's name from a script on python.
Something like the
bpy.ops.mesh.primitive_plane_add() operation, but instead of adding a plane, i want to add a group instance.
Is there any way I can do this? all I could find about groups was this http://www.blender.org/api/blender_python_api_2_74_release/bpy.ops.group.html but it does not speak about adding group instances.