AutoCAD – Drawings

Groups in AutoCAD: the toggle is Ctrl+H, not Ctrl+Shift+A

Groups in AutoCAD tie objects into one selection. Measured on AutoCAD 2027, with the shortcut that actually works and three claims the tutorials get wrong.

  • TS. Đỗ Quốc Hoàng
  • 9 min read
The same mouse click on AutoCAD 2027, with only the PICKSTYLE variable changed between the two Photo: Screenshot taken on AutoCAD 2027 at the Institute

You click one wall line and the whole corner lights up with it. You wanted to edit a single segment and the software grabs a dozen. That is what groups in AutoCAD do: they tie several objects into one selection.

Everything here was measured on AutoCAD 2027 at the Institute, with a control beside every number. One point needs saying at the top: the keyboard shortcut repeated in tutorial after tutorial is the wrong one. For a full grounding in selection and object management, the Institute runs an AutoCAD course for construction.

How a group differs from a block

The two get muddled because both gather objects, but they are built differently.

A block is a definition held in the drawing's block table. Each reference on the sheet is one call to that name, and editing the definition changes every reference at once.

A group has no definition at all. It is simply a named list recording that these objects belong together. The objects stay on their own layers, keep their own properties, and remain individually editable.

The practical split follows from that. Groups in AutoCAD suit one-off arrangements inside a single drawing, such as tying a symbol to its leader. Anything repeating a dozen times belongs in blocks in AutoCAD instead, because then one edit fixes the whole sheet.

Where to start the commands

The table below was read out of the acad.cuix interface file of the 2027 release on the machine, not written from memory.

CommandAliasRibbonClassic menu
GROUPGHome → GroupsTools → Group
UNGROUPnoneHome → GroupsTools → Ungroup
GROUPEDITnoneHome → Groups → Group Editnone
CLASSICGROUPnoneHome → Groupsnone

Only the GROUP command has an alias, and it is a single letter. The other three must be typed in full or reached from the ribbon.

There are two different doors here that people often fail to tell apart. Typing GROUP is the modern route, asking its questions on the command line. The CLASSICGROUP command opens the older dialog, which is where named groups are listed, renamed, edited and locked.

Creating one from the command line

The hyphenated -GROUP runs entirely on the command line. Its first prompt, copied verbatim from the 2027 release:

Enter a group option [?/Order/Add/Remove/Explode/REName/Selectable/Create] <Create>:

Eight options in one line, and this is the full sequence:

StepWhat the machine asks, verbatimWhat you do
1Command:Type -GROUP and press Enter
2Enter a group option [...] <Create>:Press Enter to take Create
3Asks for a group nameType a name, e.g. TUONGTRUC1
4Asks for a descriptionType one, or Enter to skip
5Select objects:Pick the objects and press Enter

Step three holds a useful trick: type * instead of a name and the software invents one. On a blank drawing we got *`A1`**, which is an unnamed group and the source of a great deal of confusion covered at the end of this article.

The other seven options work from that same prompt. Add and Remove adjust membership, REName changes the name, Selectable turns the stickiness of one group on and off, and Explode is what most people searching are actually after.

Turning the stickiness off without breaking anything

This is the commonest need of all, and most people asking it do not want the group deleted. They want to edit one object without the software grabbing its neighbours.

What decides that is the PICKSTYLE variable. Autodesk describes it in one line on the PICKSTYLE page for the 2027 release: "Controls the use of group selection and associative hatch selection". It is saved in the Registry, so setting it once carries across every drawing.

Its four values:

ValueMeaning
0No group selection, no associative hatch selection
1Group selection — the default
2Associative hatch selection only
3Both

The opening figure is the same click on the bottom edge of the left-hand rectangle. With PICKSTYLE at 1 the software selects three objects; at 0 it selects one. Setting it back to 1 returns three, so the measurement has both a control and a repeat.

The shortcut almost every tutorial gets wrong

Search this topic and you will meet the same sentence everywhere: press Ctrl+Shift+A to toggle group selection. We checked two independent ways and both say otherwise.

The group toggle shortcut Photo: Ten tests on groups, measured on AutoCAD 2027

The first way was to open the acad.cuix interface file and read it. The 2027 release defines exactly 43 keyboard accelerators, and Ctrl+Shift+A is not among them. Ctrl+A selects everything and Shift+Ctrl+L recalls the previous selection, but that combination simply is not defined.

The second way was to press the keys and read the variable back. To prove the keystrokes were reaching the software at all, we first pressed F8: ORTHOMODE went 0 to 1 and back to 0, so the keyboard was working. We then pressed Ctrl+Shift+A twice and PICKSTYLE stayed at 1.

The real shortcut sits in that same interface file. Ctrl+H is bound to a macro that flips PICKSTYLE: 0 becomes 1, 1 becomes 0, 2 becomes 3, 3 becomes 2. Pressed three times in a row, the variable ran 1 → 0 → 1 → 0, exactly as the macro describes.

So to stop a group grabbing its neighbours, press Ctrl+H. The group survives, the name survives, the mouse just stops taking the whole set. Press it again and everything is as it was.

Ungrouping in AutoCAD: which command is right

When you genuinely want a group taken apart, there are two routes and both are safe.

The first is to type UNGROUP and pick the group. The second is to type -GROUP, choose Explode, and give the group name. We tried the second on a blank drawing: the group count went to 0 while the rectangles stayed completely intact, not a line lost.

That is the point worth holding onto. Taking a group apart cuts the string; it does not touch the drawing.

And here is where tutorials go astray. Several tell you to type X, meaning EXPLODE, to break a group. We did precisely that on a blank drawing: clicked one object with PICKSTYLE at 1 so the whole group came along, then ran EXPLODE.

What we measured afterwards: the drawing still had 1 group, and one rectangle had shattered into 4 separate lines. Following that advice does not release the group and does destroy geometry. EXPLODE acts on objects, never on groups.

If it happens, press U straight away. We measured that too: after exploding a member the group was down to 2, and a single U brought the object back with the group restored to 3 members.

What the UNGROUP command does not do

Three jobs get wrongly attributed to it, so they are worth naming.

It does not delete objects. After it runs, every object sits where it was, on the layer it was on.

It does not break polylines into segments. That is EXPLODE, and that is exactly where the two commands get confused.

It is not what you want when you only need to edit one object. Ctrl+H is far quicker for that, because once a group is taken apart, rebuilding it means selecting and naming from scratch.

There is a middle setting few people use. The Remove option of -GROUP takes one object out while leaving the group intact for the rest. We deleted one member of a three-object group and it dropped to two members without dissolving. Block editing has a similar tiering, set out in our article on editing a block in AutoCAD.

An unnamed group and drawings full of strange entries

Open a drawing from someone else, type CLASSICGROUP, and you will often find a long list of names like *A1, *A12, *A57.

Those are unnamed groups. They appear whenever somebody groups objects without naming them, and from certain automated operations too. The software numbers them upwards, so a drawing passed through several hands can accumulate hundreds.

They cost almost nothing in file size, but they cause one large irritation: you click a line, a whole cluster comes with it, and nothing on screen explains why.

The tidiest fix is to type CLASSICGROUP, tick the box that shows unnamed groups, and release the ones you do not need. If the nuisance is only while drawing, Ctrl+H remains the fastest answer. It is also the reason to name groups from the outset, much as it pays to keep command aliases tidy, covered in our article on command aliases in AutoCAD.

Three things people say that are not true

What people sayWhat the 2027 release actually does
Ctrl+Shift+A toggles group selectionPressed twice, PICKSTYLE stayed at 1; the interface file has no such combination
Type X, meaning EXPLODE, to break a groupThe group survived and a rectangle shattered into 4 separate lines
Ungrouping loses your objectsThe group count went to 0 and every object stayed whole

Groups in AutoCAD are light things in the end: a named list, sticky while it is tied and loose once released. One shortcut, Ctrl+H, and one command, UNGROUP, cover nearly everything.

Frequently asked questions

What is the alias for creating a group?

G. The UNGROUP, GROUPEDIT and CLASSICGROUP commands have no aliases and must be typed out.

What is the quickest way to take a group apart?

Type UNGROUP and pick it. Or type -GROUP, choose Explode, and enter the group name.

I click one object and get the whole cluster. How do I stop that?

Press Ctrl+H. It flips the PICKSTYLE variable, the group stays intact, and pressing it again restores the previous behaviour.

Can I use EXPLODE on a group?

No. Measured on the 2027 release, the group survived while a rectangle broke into four separate lines. Press U to recover.

Where do the *A1 and *A57 entries come from?

They are unnamed groups, created whenever objects are grouped without a name. Type CLASSICGROUP to list and release them.

Do groups survive when the drawing is sent to someone else?

Yes. Groups live inside the DWG file, so another machine sees them, unnamed ones included.

About the author

TS. Đỗ Quốc Hoàng — Vice Director of the Institute of Information Technology in Civil Engineering, Hanoi University of Civil Engineering, and a specialist in software development for construction