@jolran said:
However there is no "glue_to" method for groups in the API.
Right.. and you should not use a Group, for the job of a ComponentInstance.
Groups are best used for temporary editing both manual and in scripting.
By collecting objects together into a Group, you can:
move them from one edit context to another,
protect them from being modified by crossing edges,
apply a tranform to a set of objects all at once (where they move, scale or rotate all together.)
I would say, that when you get a "set" of objects the way you want, and then wish to use that set multiple places in the model, it's best to then convert them into a ComponentInstance. Especially if your going use scripting, to manipulate them, or glue them to faces.