CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 3049 

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 www.cadstudio.cz/download.

from LAYLAY.TXT:

Setup:
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).

Usage:
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.
ACAD2007ACAD2006ACAD2005
100% *  CAD 
22.2.2006    17668x  
Comments   Tell a friend
applies to: AutoCAD 2007 · AutoCAD 2006 · AutoCAD 2005 ·

See also:
Tip 11171:Total number of layouts as a field.
Tip 10763:How to block specific AutoCAD commands?
Tip 10702:How to find which AutoCAD version was used to save a particular DWG drawing?
Tip 9514:Automatically set the Author property in DWG files.
Tip 9428:Save DWG drawing automatically after every N commands.


Back   All CAD Tips All CAD tips&tricks

How to display an invisible toolbar? « | » How to export object XYZ coordinates from AutoCAD drawing?

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   



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


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