Skip to content

The popup and its search

Updated

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

The Quick Layer popup with "light" typed in the search box and the five matching layers ranked beneath it, the best match highlighted
  1. Type a few letters of the layer name.
  2. Narrows the list to all, used, or xref layers.
  3. The best match is highlighted: Enter makes it current.

You don’t have to type a layer name from the start, or in one piece. The letters you type can come from anywhere in the name, in order, with gaps allowed. The search 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.

KeyWhat it does
TypeFilters and re-ranks live
↑ / ↓Move the highlight, scrolling to keep it in view
EnterMake the highlighted layer current, and close
EscCancel; nothing changes
Double-click a layer nameSame as Enter

Clicking outside the popup also cancels it.

The button beside the search box cycles a pre-filter that decides which layers the search runs against at all:

ScopeThe list contains
AllEvery layer in the drawing
UsedOnly the drawing’s own layers that actually have objects on them, xref layers excluded
XrefOnly 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.

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 LAYMCUR flow, 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.