CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 7606

CAD tip CAD tip # 6982:

Question CAD 
 %  platform  category 
Q - question

Switching layers using keyboard shortcuts, browsing layers.

A - answer If you want to quickly switch to frequently used layers in your AutoCAD drawings, you can assign keyboard shortcuts to the individual layers and switch them with a single button/key.

In the CUI dialog first create (see the "New command" icon") new commands (menu macros) in the form of:

(replace "mylayer1" by your individual layer names)

Then assign keyboard accelerators to these newly created commands. In the section Keyboard shortcuts > Shortcut keys attach the required key combination ("accelerator", "hotkey"): first mouse-drag the command from the list of commands to the above mentioned section and then on the right side fill in the field Keys (good candidates for key combinations for a series of layers are e.g. Ctrl+NumPad0 to 9, Alt+NumPad0 to 9, Ctrl+Alt+NumPad0 to 9).

After you exit the CUI dialog you can quickly switch your layers from the keyboard, just by a simple key combination.

Another option for incremental browsing through layers or blocks using arrow keys or PgDn/PgUp is enabling the name search in the AutoCAD command line - see the Browse layers video how to cycle through layers (it is in Czech, so for EN version type Layer instead of Hladina and Block instead of Blok):

You can also just start typing the layer name - the autocomplete feature will propose the matching layer.

And if you don't want to switch layers yourself, use the automatic FLay reactor.

100% *  CAD 
8.10.2009    35366×  

See also:
Tip 13861:How to get rid of drawing tabs under AutoCAD ribbon.
Tip 13822:Fast layer visibility toggle ON/OFF.
Tip 13620:How to quickly rotate the view by 90° in AutoCAD LT?
Tip 13529:How to redefine the behavior of a standard AutoCAD command?
Tip 12287:AutoCAD hatch flood-fill does not honor all boundaries.

Back   All CAD Tips

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension More info

Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.