The popup and its search
MDQUICKLAYER opens a small, borderless window at the cursor with the search box focused, ready to
type into.

Fuzzy search
Section titled “Fuzzy search”You don’t have to type a layer name from the start, or in one piece. The search matches your letters as a subsequence anywhere in the name, then ranks what it finds.
A match scores higher when it has:
- longer runs of consecutive characters,
- letters landing at word boundaries: the start of the name, or just after a
-,_or space, - an earlier start in the name,
- a tighter span between the first and last matched character.
Ties break toward the shorter layer name. So in a drawing full of ELEC-PANEL-01,
ELEC-PANEL-02, ELEC-PLAN, typing elpnl puts the panel layers at the top without you spelling
any of it out.
Leave the box empty and every layer in scope is listed, so the popup doubles as a browser.
Keyboard
Section titled “Keyboard”| Key | What it does |
|---|---|
| Type | Filters and re-ranks live |
| ↑ / ↓ | Move the highlight, scrolling to keep it in view |
| Enter | Make the highlighted layer current, and close |
| Esc | Cancel; nothing changes |
| Double-click a layer name | Same as Enter |
Clicking outside the popup also cancels it.
Scope: narrowing before you search
Section titled “Scope: narrowing before you search”The button beside the search box cycles a pre-filter that decides which layers the search runs against at all:
| Scope | The list contains |
|---|---|
| All | Every layer in the drawing |
| Used | Only the drawing’s own layers that actually have objects on them, xref layers excluded |
| Xref | Only xref-dependent layers |
Used and Xref are kept disjoint, so cycling gives you three genuinely different lists. Your choice is remembered across popups and across AutoCAD sessions.
With objects already selected
Section titled “With objects already selected”MDQUICKLAYER reads the pick-first selection as it opens. When there is one:
- The layers those objects sit on are pinned in a “Selected layers” section at the top, divided from the rest of the list.
- The top pinned row starts highlighted, so pressing Enter straight away makes the selection’s
own layer current: the
LAYMCURflow, in two keystrokes. - Typing filters both sections alike.
Committing a layer can also reassign the selected objects to it, mirroring native LAYCUR.
Whether that happens is up to the Reassign selection setting: Prompt asks each time, Always
does it silently, Never changes only the current layer. Set it with MDQUICKLAYERSETTINGS.
With nothing selected, the pinned section simply isn’t there.