CAD Forum
Cesky English Deutsch
Login:
 Visitors: 1223 

WWW server of the XANADU company (formerly: CAD Studio) Become a fan of CADforum on Facebook

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 Xanadu) 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.xanadu.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    10641x  
Comments   Tell a friend
Share tip: Digg it! Del.icio.us Facebook Technorati StumbleUpon
applies to: AutoCAD 2007 · AutoCAD 2006 · AutoCAD 2005 ·

See also:
Tip 7169:PreSave reactor - automatic operations on drawing save.
Tip 6515:AutoPDF - Automatic publishing of PDF file on every save of the DWG drawing
Tip 6433:Force layer for selected commands (objects).
Tip 5404:Talking AutoCAD...
Tip 5372:How can I stop my operators using the Perpendicular osnap?


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. 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:
Link your AutoCAD (or LT) block attributes with Excel tables/sheets. Automatically. Dynamically. Bidirectionally.
Try Excellink 2010 More info


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