Over 1.108.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the updated Units converter and the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.variables,.
CAD tip # 6506:
Question
A
The LAYISO command does not support selection of entities embedded in blocks or xrefs. So you cannot use it to isolate (hide other) layers which are part of an external reference drawing.
By principle, it is not possible to show a single layer from an xref and hide (switch off) all other drawing layers (including the layer where the xref is inserted). By switching off (freezing) the xref insertion layer, you'll switch off the whole xref, regardless of the visibility of its individual layers.
Nevertheless, as a limited solution for this functionality (assumes an xref inserted in the layer 0, not switched off), you can use the following LISP utility - the "LIX" command (save it to the file lix.lsp and load it with APPLOAD):
(defun C:LIX ( / entlay) (setq entlay(cdr(assoc 8 (entget(car(nentsel "Select an Xref-object to isolate: ")))))) (if (vl-string-search "|" entlay) (command "._-layer" "_s" "0" "_off" "*" "_n" "_on" entlay "") (princ "\nThis is not an Xref!") ) (prin1) )
ACADADTMapCivilACADMABS
27.1.2009
28140×
this tip shared by ARKANCE experts applies to: AutoCAD · AutoCAD Architecture · AutoCAD Map 3D · Civil 3D · AutoCAD Mechanical · AutoCAD/Revit MEP ·
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

