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

CAD tip CAD tip # 4874:

Question CAD 
 %  platform  category 
Q - question

Switching layers on/off automatically when entering Model or Layout tabs.

A - answer The free utility (reactor) LayLay (by CAD Studio) can automatically switch the visibility of selected layers when entering the Model tab or a Layout tab. This reactor extends the functions offered by the VPLAYER command.

You can define the layer list to switch on/off (the LAYLAY command) either manually as a comma delimited string or you can use the snapshot function which captures the current visibility status of the individual layers and then returns back to the saved status when entering the respective space (model/paper).

You can downlooad the LayLay application on our Download page


Load LayLay.VLX into every AutoCAD document in which you want to switch layers. You can load it automatically using ACAD.LSP/ACADDOC.LSP or with the _APPLOAD command.
Use the LAYLAY command to setup model- and layout-layers to autoswitch on or off when entering the respective modelspace or paperspace (layouts).

On every change between the modelspace and a layout in your DWG drawing LAYLAY automatically switches off and on the selected layers. You can define the layer list either manually ("LAYLAY Write") or automatically by a snapshot of current layer status - separately for model/paper ("LAYLAY ").
LayLay can be switched off with the "LAYLAY OFf" command.
Layer list and LayLay status is stored in the DWG file so you don't need to redefine them in subsequent AutoCAD sessions.
Non-existing layers are not created; even the current layer can be switched off.
100% *  CAD 
22.2.2006    20913×  
Prices - CAD eShop:
applies to: AutoCAD 2007 · AutoCAD 2006 · AutoCAD 2005 ·

See also:
Tip 12335:The FLAY utility suddenly places texts and dimensions in wrong layers.
Tip 12101:Timing of any AutoCAD command - CMDtimer.
Tip 11967:How to apply a changed drawing template (DWT) to existing drawings?
Tip 11847:Automatic UCS aligned with the current View (UCSauto switch).
Tip 11780:How to rename layouts by a specific attribute of the title block?

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   

Track your time spent working on AutoCAD or Revit jobs - automatically with
CADstudio JobTime More info

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