CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 6324
Plex.Earth connects AutoCAD and Google Earth

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 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    22396×  
Prices - CAD eShop:
applies to: AutoCAD 2007 · AutoCAD 2006 · AutoCAD 2005 ·

See also:
Tip 14039:How to display the total volume or surface of 3D solids in DWG?
Tip 13977:How to publish a PDF to the same folder as a DWG drawing in AutoCAD?
Tip 13868:XrefStamp - create a dynamic list of xrefs in your DWG drawing.
Tip 13788:Green square - mathematical charade and parametric constraints in AutoCAD.
Tip 13737:Formatting leading zeros in AutoCAD fields (and automatic field update).


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   



Featuring:
Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools 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.
TOPlist