<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LISP to switch Layer Manager to &amp;quot;Local Layer&amp;quot; filter in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124884#M119533</link>
    <description>&lt;P&gt;&lt;A href="http://autode.sk/2qNCJ5R" target="_self"&gt;HERE&lt;/A&gt;&amp;nbsp;is the screencast showing how to add it into the UI (I haven't actually done it, just show how...)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this...&lt;/P&gt;
&lt;PRE&gt;(defun c:lll ()
  (command "_.LAYER" "_FILTER" "_Delete" "Lokale-Layer" "")
  (command "_.LAYER" "_FILTER"	"_New" "_Property" "&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;_&lt;/STRONG&gt;&lt;/FONT&gt;All" "NAME==\"~*|*\"" "Lokale-Layer") (if (&amp;gt; (getvar 'CMDACTIVE) 0) (command ""))
  (command "_.LAYER" "_FILTER" "_Set" "Lokale-Layer" "_X" "")
  (princ))&lt;/PRE&gt;
&lt;P&gt;...see your command line, maybe the "All" is translated so it needs to be "_All" or german "Alle" ??? Check it yourself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it does not work, post the command line listing... But try it to fix yourself first.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2017 10:55:23 GMT</pubDate>
    <dc:creator>ВeekeeCZ</dc:creator>
    <dc:date>2017-06-02T10:55:23Z</dc:date>
    <item>
      <title>LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124603#M119526</link>
      <description>&lt;P&gt;I already have a Lisp to create a local layer filter. As I'm working in Germany, this Layer-Filter is called "Lokale-Layer".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I open layer Manager to find out info about a layer within an Xref, I often forget to Switch back to my "local layer" filter. Then when I'm CADding around and select a line to Change its properties, or specifically its Layer Name, I can then only see the layers from the Xref which I had clicked on in Layer Manager from the drop-down box (see screenshot below)&lt;/P&gt;
&lt;P&gt;I then have to unselect my selection (ESC), go back into layer Manager, click on "Lokale-Layer" filter and then relect my elements to Change their layer Name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;I'm looking for a Lisp with a command e.g. "LLL" which Switches me (or rather my Layer manager) back to my local layer filter, so that I can fast-track the solution.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Or better yet, a way (Setting that i don't know of perhaps?) to always Default back to a selected / local layer filter to avoid the Problem all together, since&amp;nbsp;I never want to see an &lt;EM&gt;Xref layer list&lt;/EM&gt; in the drop-down box in the pic below. That seems a reach for me though... perhaps a Suggestion to Autodesk for future Versions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt.jpg" style="width: 578px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/362787i2087DAB790D3336B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.jpg" alt="Unbenannt.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 08:07:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124603#M119526</guid>
      <dc:creator>barry2104</dc:creator>
      <dc:date>2017-06-02T08:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124633#M119527</link>
      <description>&lt;PRE&gt;(defun c:LLL ()
  (command "_-layer" "_filter" "_S" "Lokale-Layer" "_X" "")
  (princ)
)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may add this command:&amp;nbsp;(c:lll)&amp;nbsp;into acaddoc.lsp, then it will load on start of each drawing, see&amp;nbsp;&lt;A href="http://help.autodesk.com/view/ACD/2015/ENU/?guid=GUID-FDB4038D-1620-4A56-8824-D37729D42520" target="_self"&gt;HERE&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 08:25:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124633#M119527</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2017-06-02T08:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124658#M119528</link>
      <description>&lt;P&gt;thanks for the quick reply, but it doesn't seem to quite work...&lt;/P&gt;
&lt;P&gt;the drop-down box is now empty rather than showing the list from the "Lokale-Layer" Layerfilter&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt.jpg" style="width: 604px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/362805i6AE33CDB96D363C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.jpg" alt="Unbenannt.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 08:28:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124658#M119528</guid>
      <dc:creator>barry2104</dc:creator>
      <dc:date>2017-06-02T08:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124680#M119529</link>
      <description>Can't think of any reason why it would work that way. I'm using this for years.&lt;BR /&gt;Would you post your dwg? You an erase all the objects, just leave layer and layer filters.&lt;BR /&gt;BTW what version of autocad do you have?</description>
      <pubDate>Fri, 02 Jun 2017 08:42:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124680#M119529</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2017-06-02T08:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124689#M119530</link>
      <description>&lt;P&gt;using AutoCAD 2016&lt;/P&gt;
&lt;P&gt;see attachment&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 08:48:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124689#M119530</guid>
      <dc:creator>barry2104</dc:creator>
      <dc:date>2017-06-02T08:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124771#M119531</link>
      <description>&lt;P&gt;Sorry, I may not be able to help you.&lt;/P&gt;
&lt;P&gt;I'm even unable to set your filter current by ANY means! Not by the Layer Manager, nor by Command Line. Using Autocad 2016 C3D.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try the code below. You may try play with the code, try run it twice...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:lll ()
  (command "_.LAYER" "_FILTER" "_D" "Lokale-Layer" "")
  (command "_.LAYER" "_FILTER"	"_N" "_P" "All" "NAME==\"~*|*\"" "Lokale-Layer") (if (&amp;gt; (getvar 'CMDACTIVE) 0) (command ""))
  (command "_.LAYER" "_FILTER" "_S" "Lokale-Layer" "_X" "")
  (princ))&lt;/PRE&gt;
&lt;P&gt;Lines:&lt;/P&gt;
&lt;P&gt;1) delete current local filter&lt;/P&gt;
&lt;P&gt;2) recreate new one&lt;/P&gt;
&lt;P&gt;3) sets it current&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW Since you're using you can add LayerFilterCombo into Ribbon (maybe instead of LayerStateCombo) and&amp;nbsp;control and change filters directly from Ribbon. See attached printscreen.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 09:57:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124771#M119531</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2017-06-02T09:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124830#M119532</link>
      <description>&lt;P&gt;I'm not familiar with LayerFilterCombo - what is it and how do i add it to my ribbon?&lt;/P&gt;
&lt;P&gt;after reloading the Lisp with your amended text, i get the following pop-up window...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt.JPG" style="width: 508px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/362844iA7830FC3E279B843/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.JPG" alt="Unbenannt.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;after simply closing it, the Lisp runs, but again to no avail. This time I don't see any Change to the drop-down layer list (still only showing the Xref-Layers in the drop down list, along with the current layer of course)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 10:11:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124830#M119532</guid>
      <dc:creator>barry2104</dc:creator>
      <dc:date>2017-06-02T10:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124884#M119533</link>
      <description>&lt;P&gt;&lt;A href="http://autode.sk/2qNCJ5R" target="_self"&gt;HERE&lt;/A&gt;&amp;nbsp;is the screencast showing how to add it into the UI (I haven't actually done it, just show how...)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this...&lt;/P&gt;
&lt;PRE&gt;(defun c:lll ()
  (command "_.LAYER" "_FILTER" "_Delete" "Lokale-Layer" "")
  (command "_.LAYER" "_FILTER"	"_New" "_Property" "&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;_&lt;/STRONG&gt;&lt;/FONT&gt;All" "NAME==\"~*|*\"" "Lokale-Layer") (if (&amp;gt; (getvar 'CMDACTIVE) 0) (command ""))
  (command "_.LAYER" "_FILTER" "_Set" "Lokale-Layer" "_X" "")
  (princ))&lt;/PRE&gt;
&lt;P&gt;...see your command line, maybe the "All" is translated so it needs to be "_All" or german "Alle" ??? Check it yourself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it does not work, post the command line listing... But try it to fix yourself first.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 10:55:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124884#M119533</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2017-06-02T10:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124919#M119534</link>
      <description>&lt;P&gt;Here's the command line Output:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Befehl: LLL Unbekannter Befehl "SET". Drücken Sie F1-Taste für Hilfe.&lt;BR /&gt;Unbekannter Befehl "LOKALE-LAYER". Drücken Sie F1-Taste für Hilfe.&lt;BR /&gt;Unbekannter Befehl "X". Drücken Sie F1-Taste für Hilfe.&lt;BR /&gt;Unbekannter Befehl "LLL". Drücken Sie F1-Taste für Hilfe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks like i Need to translate the commands "X" and&amp;nbsp;"SET" to be comprehensible in my german System, since the "_" prefix doesn't seem to help there... Can you describe their functions in english for me? I don't personally know how Lisp script language works...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;unfortunately that screencast doesn't quite apply to me with a german setup, as I don't know the translations into german for the selected Tabs (or rather, can't find&amp;nbsp;the applicable file to drag and drop within the CUI Dialogue)&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 11:18:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124919#M119534</guid>
      <dc:creator>barry2104</dc:creator>
      <dc:date>2017-06-02T11:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124939#M119535</link>
      <description>&lt;P&gt;Try to add a dash "_.&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/FONT&gt;LAYER"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Set is for Set the current.&lt;/P&gt;
&lt;P&gt;X is for eXit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But&amp;nbsp;decisive is the first error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the screenshot. Find it by your current Profil...&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 11:33:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7124939#M119535</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2017-06-02T11:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7126019#M119536</link>
      <description>&lt;P&gt;no dice unfortunately, same Problem as without the - infront of Layer&lt;/P&gt;
&lt;P&gt;oh well&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 18:04:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7126019#M119536</guid>
      <dc:creator>barry2104</dc:creator>
      <dc:date>2017-06-02T18:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7129668#M119537</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/787972"&gt;@barry2104&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what you need?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://autode.sk/2swaGdn" target="_self"&gt;http://autode.sk/2swaGdn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="9132f924-0be6-4832-b9cf-4b4b5413be1c" class="myscreencast-iframe iframe-container active-myscreencast"&gt;&lt;IFRAME src="https://screencast.autodesk.com/Embed/Timeline/9132f924-0be6-4832-b9cf-4b4b5413be1c" width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" style="display: inline;"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Jun 2017 16:52:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7129668#M119537</guid>
      <dc:creator>Edwin.Saez</dc:creator>
      <dc:date>2017-06-05T16:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7130997#M119538</link>
      <description>&lt;P&gt;that Looks great, but how do I get that to work? no instructions in the Video link... I don't know how to get those shortcut-Icons on to my Profile and the command "FILTRO" must be an add-on/Lisp...&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 07:54:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7130997#M119538</guid>
      <dc:creator>barry2104</dc:creator>
      <dc:date>2017-06-06T07:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7131136#M119539</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;look to that screenshot and the name of the layerfilter (the global one) in German AutoCAD:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20170606_104738.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/363881iB20A1E08021ED6A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="20170606_104738.png" alt="20170606_104738.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And what is quite unusual, but in that case happens: the global layerfilter in German AutoCAD is called "ALLE" and in that special case that can not be used with the international prefix "underline"+English-name to get it working in other languages. ...what means you can't use "_ALL", you need to use the word "ALLE" in German.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code which works for me, based on the one from &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt; is that:&lt;/P&gt;
&lt;PRE&gt;(defun c:lll ()
  (command "_.LAYER" "_FILTER" "_Delete" "Lokale-Layer" "")
  (command "_.LAYER" "_FILTER"	"_New" "_Property" &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;"ALLE"&lt;/STRONG&gt;&lt;/FONT&gt; "NAME==\"~*|*\"" "Lokale-Layer") (if (&amp;gt; (getvar 'CMDACTIVE) 0) (command ""))
  (command "_.LAYER" "_FILTER" "_Set" "Lokale-Layer" "_X" "")
  (princ)
)&lt;/PRE&gt;
&lt;P&gt;HTH, - alfred -&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 08:52:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7131136#M119539</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2017-06-06T08:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7131201#M119540</link>
      <description>&lt;P&gt;the new code from Alfred&amp;nbsp;works better than previously, but not quite what I'm after.&lt;/P&gt;
&lt;P&gt;After typing in LLL the Dropdown list now Shows all layers rather than just the layers that should be visible through the "Lokale-Layer" filter. This means i now still have to scroll through sometimes 1000+ layers to pick the local layer i want to assign an element to. If I only have 10 local layers, and 1000+ xref layers, then this is still not much of a time saver considering the amount of Scrolling i Need to do within the Dropdown list.&lt;/P&gt;
&lt;P&gt;I don't know what to tweak in the code to get this Dropdown list to only Show layers found within a customised layer filter ("Lokale-Layer") though!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;otherwise, can anyone shed more light on post 12 above? That screencast Looks like what I want to achieve, but I don't see any instructions&amp;nbsp;on how to set it up like that.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 09:26:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7131201#M119540</guid>
      <dc:creator>barry2104</dc:creator>
      <dc:date>2017-06-06T09:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7131240#M119541</link>
      <description>&lt;P&gt;Alfred, thank you for the update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you try (or translate) the code from post #2?&amp;nbsp;Would you confirm that it works in German version?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because this code is basically all we need... and it works for me for years...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;THX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/787972"&gt;@barry2104&lt;/a&gt;&amp;nbsp; Does it make your lokale-layer filter active? You need to post some screenshots or screencast, command line listening... We need to see what really happened otherwise we're unable to help you!!!&lt;/P&gt;
&lt;P&gt;BTW The filter Lokale-Layer in your posted example does include 69 layers, not not just 10...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR&amp;nbsp;try this alternative:&lt;/P&gt;
&lt;PRE&gt;(defun c:lll ()
  (command "_.+LAYER" "Lokale-Layer")
  (princ)
)&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Jun 2017 10:08:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7131240#M119541</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2017-06-06T10:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7131371#M119542</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#000080"&gt;&amp;gt;&amp;gt; Would you try (or translate) the code from post #2?&amp;nbsp;Would you confirm that it works in German version?&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Code does not need a translation, works well in German AutoCAD 2017 too.&lt;/P&gt;
&lt;P&gt;(the filter given in the lisp-tool is made active and so the layer combo shows only the filtered layers ... well not with the sample drawing as we don't have XRefs in it, but modified the filter "Lokale Layer" to just show "*-BAUW*" layers, then made layerfilter "ALLE" active, closed layermanager, ran your tool and after that only one layer is listed in the layer combo ==&amp;gt; that's my understanding of how the tool should work)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 10:55:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7131371#M119542</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2017-06-06T10:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7131444#M119543</link>
      <description>&lt;P&gt;not sure why this code gave me Problems last week, but upon trying it again today, it works&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Problem solved!&lt;BR /&gt;&lt;BR /&gt;If anyone has more info about the above screencast from post 12, there could be Bonus Points involved...&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 11:24:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7131444#M119543</guid>
      <dc:creator>barry2104</dc:creator>
      <dc:date>2017-06-06T11:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7131501#M119544</link>
      <description>&lt;P&gt;Thanks God!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have very similar buttons, as you could see from my screenshot. It wars even better with previously noticed LayerFilterCombo which gives you visual control.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to make sure that your LLL routine is always loaded - use the StartUp Suite or acaddoc.lsp.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can follow the screencast &lt;A href="http://autode.sk/2sySG1P" target="_self"&gt;HERE&lt;/A&gt;&amp;nbsp;(my UI is highly customized so you have different tabs and Panels...)&lt;/P&gt;
&lt;P&gt;Edit: part of 1'-1'55" I should have cut off - I am just searching for the Icon name.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 11:57:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7131501#M119544</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2017-06-06T11:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to switch Layer Manager to "Local Layer" filter</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7132024#M119545</link>
      <description>&lt;P&gt;With pleasure to help you Here in this video that you can see how I did it.&lt;BR /&gt;You need to create 2 new commands, and add the following macros:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;- ^ C ^ C-LAYER; _FILTER; SET; All non-Xref Layers ;; (All layers except the xref layers are shown)&lt;BR /&gt;- ^ C ^ C-LAYER; _FILTER; SET; Xref ;; (Only the xref layers are shown)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="filtername.jpg" style="width: 220px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/364023i978E053AE04D03B7/image-dimensions/220x56?v=v2" width="220" height="56" role="button" title="filtername.jpg" alt="filtername.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create commands, add it to the shortcut bar, to use it always quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="iframe-container"&gt;&lt;IFRAME src="https://screencast.autodesk.com/Embed/Timeline/b2dfbe5e-1b27-4162-9414-8f4bb74c3014" width="640" height="710" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" style="display: inline;"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Jun 2017 14:28:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-switch-layer-manager-to-quot-local-layer-quot-filter/m-p/7132024#M119545</guid>
      <dc:creator>Edwin.Saez</dc:creator>
      <dc:date>2017-06-06T14:28:06Z</dc:date>
    </item>
  </channel>
</rss>

