If you want to group something with another group then select both items and choose group.
@Zygmund – let's see what we can do here. You state:
"It's not possible to directly add a new element to a group and it's impossible to select/create groups into groups."
1. Adding directly a new element to a group:
Possible by using the Layers Panel: just drag another object inside that group as it is presented in the Layers Panel (chose the place *after* the bottom most object in the group). To get to the bottom most object, just expand the tiny triangles of the objects presented in the Layers Panel.
2. Select groups in groups
Possible by selecting the group from the Layers Panel
3. Create groups in groups
Not possible directly, but indirectly (you have to have already a group somewhere on the spread).
Priciply the same as in #1, but you first have to have a group, that you can drag inside a group. If this is done, drag all the objects you want to group inside the group of that group, remove the other objects that initially established the group or move them out. All possible with using the Layers Panel.
What also is helping: Name or rename objects in the Layers Panel.
(CS5 and above)
And yes, a feature request would be a start for make it easier to work with groups…
Hold key 'CMD' and hit the 'g' key
Of course, Eugene has a point here. Adding a group to a group is easy. But adding a group to a group that is already grouped to something else and should be nested inside that group (for whatever reason) is not.
Thanks for you answers.
So I should continue working with Layers Panel. I'm making a feature request (when their site would be working ...).
Hope it would be added soon !
Don't hold your breath.
@Géraud – yes. And I want something to point out here: If you drag objects out of a group in the Layers Panel and want the group stay intact as a group, leave at least two objects in. Otherwise the "groupness" will be removed. In InDesign it is very hard to impossible (technically it's not impossible) to have a "group" with one object.
Uwe - that's a great tip on the layers panel for moving around groups.
Very well done.
If for whatever reason you need just a group with one single object ( !! ) run the following script on a selection of a single object.
What it does: it adds a rectangle to the active spread you have selected the object, adds a group with that rectangle plus the selected one and removes the helper rectangle inside that group. Surprisingly that leaves a group with a single object you could drag to another group in the Layers Panel.
What it also does: If a group is selected (and that is a single object; the selected group), it will wrap another group around that group.
And it comes with an undo function… So you can always undo the grouping of the single object.
What it NOT does: My script will fail silently with objects selected inside other objects (pasted something into something, objects inside groups, objects anchored to text).