<?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: Isolate selected layer/layers and Unisolate all that are not frozen Lisp in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5624745#M330321</link>
    <description>&lt;P&gt;I like these lisp that you created. But do I really need the top part that explains everything or can i delete it. I a, all for leaving the ;; Kent Cooper, August 2011 on there. but i want to cut out the rest of the filler if i could.&lt;/P&gt;</description>
    <pubDate>Thu, 07 May 2015 14:58:16 GMT</pubDate>
    <dc:creator>Jrooker06</dc:creator>
    <dc:date>2015-05-07T14:58:16Z</dc:date>
    <item>
      <title>Isolate selected layer/layers and Unisolate all that are not frozen Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5622873#M330311</link>
      <description>&lt;P&gt;I am looking for a Lisp routine that will allow me to isolate the selected layer or to select a layer to be isolated by typing LIO and then Type something like LO to unisolate all layers. does anyone have a lisp routine like this that works? i have looked on line but we end up having errors and they dont work.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 14:06:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5622873#M330311</guid>
      <dc:creator>Jrooker06</dc:creator>
      <dc:date>2015-05-06T14:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Isolate selected layer/layers and Unisolate all that are not frozen Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5622899#M330312</link>
      <description>&lt;P&gt;Define them in your ACAD.PGP for Layiso and Layuniso should work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 14:21:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5622899#M330312</guid>
      <dc:creator>Patchy</dc:creator>
      <dc:date>2015-05-06T14:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Isolate selected layer/layers and Unisolate all that are not frozen Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623077#M330313</link>
      <description>&lt;P&gt;See attached to assign a keyboard shortcut. No need for .lisp.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assigned "I" = Isolate, "II" = Unisolate, to make things go quickly when using those two commands.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 15:52:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623077#M330313</guid>
      <dc:creator>steve216586</dc:creator>
      <dc:date>2015-05-06T15:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Isolate selected layer/layers and Unisolate all that are not frozen Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623188#M330314</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2440829"&gt;@Jrooker06&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I am looking for a Lisp routine that will allow me to isolate the selected layer or to select a layer to be isolated by typing LIO and then Type something like LO to unisolate all layers. does anyone have a lisp routine like this that works? i have looked on line but we end up having errors and they dont work.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you can't or don't want to do it with command aliases for AutoCAD's LAYISO and LAYUNISO commands as suggested, or if you want one with some &lt;EM&gt;improvements&lt;/EM&gt; over those [see the comments at the link, and at the top of the file], I&amp;nbsp;have made such a thing that happens to use &lt;STRONG&gt;LIO&lt;/STRONG&gt; as its command name for the isolation, though it uses L&lt;STRONG&gt;U&lt;/STRONG&gt;O for the unisolation.&amp;nbsp; It's available &lt;A href="http://cadtips.cadalyst.com/layer-properties/improved-layer-isolateunisolate" target="_self"&gt;here&lt;/A&gt;.&amp;nbsp; And there's&amp;nbsp;&lt;A href="http://cadtips.cadalyst.com/layer-properties/layer-isolateunisolate-using-freeze-and-thaw" target="_self"&gt;another one&lt;/A&gt; that does the same with Freezing and Thawing instead of turning Off and On.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 16:46:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623188#M330314</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-05-06T16:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Isolate selected layer/layers and Unisolate all that are not frozen Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623233#M330315</link>
      <description>&lt;P&gt;It was my off that wanted to make it into a lisp and use this as the&amp;nbsp;standard command. So i used this for the Lisp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;;Isolate Selected Layer&lt;BR /&gt;(defun C:LIO () (C:LAYISO) (princ))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;;Unisolate Layers&lt;BR /&gt;(defun C:LO () (C:LAYUNISO) (princ))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems to work great for me but i would like to understand what everything does. Of course i understand "(defun C:LIO" and "(C:LAYISO)" but what does the rest of the code mean exactly?&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 17:08:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623233#M330315</guid>
      <dc:creator>Jrooker06</dc:creator>
      <dc:date>2015-05-06T17:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Isolate selected layer/layers and Unisolate all that are not frozen Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623314#M330316</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2440829"&gt;@Jrooker06&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;It was my off that wanted to make it into a lisp and use this as the&amp;nbsp;standard command. So i used this for the Lisp&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;;;Isolate Selected Layer&lt;BR /&gt;(defun C:LIO () (C:LAYISO) (princ))&lt;/P&gt;
&lt;P&gt;.... i would like to understand what everything does. Of course i understand "(defun C:LIO" and "(C:LAYISO)" but what does the rest of the code mean exactly?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I guess if you have those commands loaded by something like acaddoc.lsp from a shared server location, that could be a better approach than using command aliases, since the former can be applied to all computers on the network, whereas the&amp;nbsp;latter would require setting the aliases on every computer separately.&amp;nbsp; [You &lt;EM&gt;could&lt;/EM&gt; do it with a shared .PGP file for aliases, but that would require removing those from all&amp;nbsp;individual computers, and people wouldn't be able to customize aliases for themselves independently.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first pair of parentheses after the command name is to hold any arguments and/or localized variables that are required by or used&amp;nbsp;within the function or command.&amp;nbsp; In this case there aren't any, but the parentheses are still required, even if there's nothing in them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The (princ) at the end is for what is referred to as "exiting quietly."&amp;nbsp; You could probably do without it in this case.&amp;nbsp; Mostly it's used so that you don't see the returned value from the last function within the routine.&amp;nbsp; For example, routines often end with resetting of some System Variables that were changed inside the routine.&amp;nbsp; If, say, it turned off command echoing by first saving the value of the CMDECHO System Variable and then setting it to 0, it would typically reset it to 1 [presumably the initial value that it saved earlier] at the end.&amp;nbsp; If that's the &lt;EM&gt;last thing&lt;/EM&gt; that happens in the routine, then that 1 will be returned at the Command: prompt line when it's done.&amp;nbsp; Or if it ends with a completed (command) function that did something, that always returns nil, and the nil will show up at the Command: prompt line.&amp;nbsp; The (princ) with &lt;EM&gt;no arguments&lt;/EM&gt; [or (print) or (prin1)] returns nothing at all, so it just goes back to the Command: prompt without showing something that may confuse Users who don't know how these things work.&amp;nbsp; It's only for the "look" of the command in operation at the end, but otherwise serves no operational function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The right parenthesis at the very end is the mate of the left parenthesis at the very beginning -- they always need to come in pairs.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 17:59:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623314#M330316</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-05-06T17:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Isolate selected layer/layers and Unisolate all that are not frozen Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623324#M330317</link>
      <description>&lt;P&gt;This is completely unnecessary. This is intended aliases defined in pgp file. In this case Lisp you get no benefit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://www.youtube.com/watch?v=6hVmK2gqaQ8"&gt;https://www.youtube.com/watch?v=6hVmK2gqaQ8&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However better coding to call AutoCAD origin commands is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;;Isolate Selected Layer&lt;BR /&gt;(defun C:LIO () (command "_.LAYISO") (princ))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;;Unisolate Layers&lt;BR /&gt;(defun C:LO () (command "_.LAYUNISO") (princ))&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 18:20:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623324#M330317</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2015-05-06T18:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Isolate selected layer/layers and Unisolate all that are not frozen Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623379#M330318</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;EM&gt;"This is completely unnecessary. This is intended aliases defined in pgp file. In this case Lisp you get no benefit."&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually these boards are loaded chok full of people who run into problems because of things like this!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can easily see in the near future when a user will request help because they cannot turn certain layers&amp;nbsp;ON, even though they are using LAYUNISO. Because that command will not act a second time, even when not using it in a .lisp. A textmessage will appear which reads, "LAYUNISO No layers to restore from LAYISO command."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All due to a .lisp which was loaded into the Startup Suite that they were never aware of nor knew of the command prompt to initiate the .lisp action. As a new hire to that company, and with a fair amount of experience, I would never even guess that woudl be the case. Also as a new hire, with a fair amount of experience in&amp;nbsp;which my compensation package was based upon,&amp;nbsp;I would be embarrassed to ask of if such a thing existed.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 19:05:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623379#M330318</guid>
      <dc:creator>steve216586</dc:creator>
      <dc:date>2015-05-06T19:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Isolate selected layer/layers and Unisolate all that are not frozen Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623458#M330319</link>
      <description>&lt;P&gt;Thank you for explaining that for me. It Will help in in future use.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 19:49:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623458#M330319</guid>
      <dc:creator>Jrooker06</dc:creator>
      <dc:date>2015-05-06T19:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Isolate selected layer/layers and Unisolate all that are not frozen Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623718#M330320</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/118078"&gt;@steve216586&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can easily see in the near future when a user will request help because they cannot turn certain layers&amp;nbsp;ON, even though they are using LAYUNISO. Because that command will not act a second time, even when not using it in a .lisp. A textmessage will appear which reads, "LAYUNISO No layers to restore from LAYISO command."&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's one of the benefits of my routines [links in Post 4], and in fact&amp;nbsp;one of the reasons I made them -- they &lt;EM&gt;nest&lt;/EM&gt; to as many levels deep as you care to go [see remarks at the first link, and in the top of the files].&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 23:36:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5623718#M330320</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-05-06T23:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Isolate selected layer/layers and Unisolate all that are not frozen Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5624745#M330321</link>
      <description>&lt;P&gt;I like these lisp that you created. But do I really need the top part that explains everything or can i delete it. I a, all for leaving the ;; Kent Cooper, August 2011 on there. but i want to cut out the rest of the filler if i could.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 14:58:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5624745#M330321</guid>
      <dc:creator>Jrooker06</dc:creator>
      <dc:date>2015-05-07T14:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Isolate selected layer/layers and Unisolate all that are not frozen Lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5625423#M330322</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2440829"&gt;@Jrooker06&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I like these lisp that you created. But do I really need the top part that explains everything or can i delete it. I a, all for leaving the ;; Kent Cooper, August 2011 on there. but i want to cut out the rest of the filler if i could.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can remove any line that begins with a semicolon, and anything on other lines from a semicolon rightward -- they're all just commentary.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 18:27:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/isolate-selected-layer-layers-and-unisolate-all-that-are-not/m-p/5625423#M330322</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-05-07T18:27:16Z</dc:date>
    </item>
  </channel>
</rss>

