HOME‎ > ‎


10 very handy layer control utilities.
to all AutoCAD versions which can load vlx files.



Command: LI
Isolate the layer of selected objects. It similar like Command LAYISO in AutoCAD 2009 and beyond, but it will always set "off" (not "Lock and fade") for layers not isolated and set "off" in paper space viewport use (not "Vpfreeze"). 
Command: LU
Unlock the layer of selected objects and lock the rest.
It is very useful when you focus on objects in a few layers and don't want to disturb objects on other layers.
Command: LF
Turn off the layer of selected objects. Allow multiple selection.
If selected object is a block:
1) If the sub-entity picked is on Layer 0, it will try to find out any nested block which is not on Layer 0 from innermost and turn it off.
    If all nested blocks and the master block are all on Layer 0, it will turn off Layer 0 and Layer defpoints, 
    Because if Layer 0 is off and Layer defpoints is on, objects on Layer defpoints is not selectable and always confusing people.
2) If the sub-entity picked is not on Layer 0, it will turn off its layer.
You can always turn off the layer of the master block by selecting it first and then turn off its layer from pull-down Layer Control toolbar, therefore no need provide an option as AutoCAD command LAYOFF does, to turn off the layer of selected master block only.
Command: LO
Lock selected object's layer.
It works similar as LAYLCK but allows selecting multiple objects.
Comamnd: LVF
This is an individual command to freeze layers in viewports.
It works similar as LAYOFF with setting of "Vpfreeze".
Because it is just waste of time to change settings between Vpfreeze and normal layer off, it's better to have two seprate commands to do different works.
(See Command LF if selected object is a block)
Command: LUU
Unlock all layers.
After using new command LU, you may want to unlock all layers. You can always use command LAYERP to retrieve previous layer status as well.
Command: LON
Turn on all layers.
Command: LSC
Select objects to set current drawing color to their layers. Selected objects can be nested objects. It provides a shotcut to change the layer color of an xref object. Allow multiple selection.
Command: LSC
Select an object (can be nested) to set current color to its layer:
After changing the layer color, it reports:
Color changed to layer:xxxx 
(See Command LF if selected object is a block)
You may need regen the drawing to show layer color changes.
Command: LPO
Turn on / VP Thaw all layers, leave selected object's layer on (can be nested), then restore previous layer status. Allow multiple selection.
For example, if you want to turn on the ceiling gird layer which is in a xref file and has a very long name, it is a bit hard to spot such layer in the layer manager especially if there are hundreds of layers in the drawing. Now with LPO to turn on all layers first then you can pick up the ceiling grid, it will then restore previous layer status but keep the ceiling grid layer on - you don't even need to know the layer's name although it will be printed in the command line window by LPO.
If current view is in a viewport of Paperspace, LPO turns on all layers and thaws all VpFreezed layers first, then restore previous layer status, but leave layers of selected objects thawed / turned on.
When command is cancelled by user, it retrieves the previous layer status.
Command: LQM
Annoying layer name such as "Floor Plan$0$Unit 1$0$A-Wall" created if xref file is bound with "bind" option instead "insert" option.
LQM can quickly strip off file name prefix in bound xref layer names and merge them into existing layers if necessary.
Above layer name example will be renamed to "A-Wall". If such name already exists, it will be merged into it.
It checks the block definition at beginning and prompts:
Checking block definition...xx of xx ... 
It summarizes the results in the command line:
xxx layers renamed.
xxx layer merged.
Sometimes standard AutoCAD LAYMRG command doesn't work, please try LQM, it fixed this problem and can merge layers properly, see TIP 2 below.
This command only avaiable after the registration.
It unlocks all layers at beginning and goes back to the previous layer status at end.
1. Because it is compatible to most recent AutoCAD versions, you may find it is very useful when you working in another computer which hasn't installed AutoCAD Express or Bonus.
2. To merge some "stubborn" layers which cannot be merged by LAYMRG command,
    you can rename them to "[Any name]$0$[Destination layer name]", then run LQM, it will merge them to the destination layer properly.   



16 Aug 2013, Resolved an issue in registration procedure.
25 Feb 2013, Resolved an issue in LQM when layer status revert back unexpectly.
25 Jan 2013, LQM terminates and reports if an error is found in block definition. 
                   LSC updates screen display after changing layer color.
09 Dec 2011, LQM can merge all "stubborn" layers.
08 Dec 2011, Command LQM added.
28 Oct 2011, Command LF/LSC/LPO updated. 
09 Jul 2011, Command LF - Resolve an issue when selected entity is on current layer
                 Command LF - Resolve an issue when selected entity is an attribute on layer 0
                 Command LPO added.
                 Allow multiple selection in command LF, LSC, and LPO
07 Jun 2011, Bugs fixed in command LI and LU
14 Apr 2011, Command LSC added