Skip to content

Add new "Move to Group" Command

Use case: when groups nicely represent the structure of a drawing, adjustments and additions of new objects need to be moved to the right group to keep the drawing well structured.
Requirement: Add a new command to put a selected object/s or group inside the target group.
To have a similar effect to the "Move to Layer" command. Just with groups. And have the opposite effect to "Pop selection out of Group" command.
Operation: Select a group and some objects. Click Move to group. If the objects Z is above the group it is put at the Z top in the group. If below, it is put at the Z bottom of the group. If mixed Z in a multiple selection the same result. But the objects Z could be moved together.
If 2 groups are selected, the second selected is the target. The first selected becomes a sub-group of the target group. Optionally the groups could be merged to form one larger group.
UI possibilities:

  1. Add context menu item Move to Group. Then select any target group on the canvas or Object manager.
  2. Add a switch in "Move to Layer" command to use groups. Pro= fewer commands. Con= Move to Layer command is complexer
  3. Use a modifier key to switch the context menu item "Pop out of group" with the opposite "Move in to Group".

Workarounds today:

  1. Use Object manager to convert the Group to a Layer. Use 'Move to Layer'. Then convert the layer back to a group.
  2. Drag and Drop in the Object manager. Only easy to do if both items are seen at the same time. In a long list it is very easy to lose your place.
  3. Cut, enter group, then Paste-in-place inside the group. Less obvious for new users and less direct.
  4. Select object and group, go Ungroup then Group again. This loses group name and stack position. Thus harming a well structured drawing.
Edited by ian
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information