<?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: How to get layer name selected in COPYTOLAYER command using lisp? in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/how-to-get-layer-name-selected-in-copytolayer-command-using-lisp/m-p/9163113#M121293</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7634721"&gt;@developer2F83JZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've used lisp to call COPYTOLAYER command to copy objects and paste in another layer.&lt;/P&gt;
&lt;P&gt;But, if the selected layer is turned off, the pasted objects are not visibile.&lt;/P&gt;
&lt;P&gt;So, I need to get the selected layer from COPYTOLAYER and turn &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;off&lt;/STRONG&gt; &lt;/FONT&gt;that layer.&lt;/P&gt;
&lt;P&gt;Is it possible to get the selected layer name from COPYTOLAYER command using lisp?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Post the code. I don't really follow your description... shouldn't the layer be turn &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;on&lt;/STRONG&gt;&lt;/FONT&gt;?&lt;/P&gt;
&lt;DIV id="gtx-trans" style="position: absolute; left: 128px; top: 228.2px;"&gt;
&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Sat, 23 Nov 2019 08:47:19 GMT</pubDate>
    <dc:creator>ВeekeeCZ</dc:creator>
    <dc:date>2019-11-23T08:47:19Z</dc:date>
    <item>
      <title>How to get layer name selected in COPYTOLAYER command using lisp?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-get-layer-name-selected-in-copytolayer-command-using-lisp/m-p/9163104#M121292</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used lisp to call COPYTOLAYER command to copy objects and paste in another layer.&lt;/P&gt;&lt;P&gt;But, if the selected layer is turned off, the pasted objects are not visibile.&lt;/P&gt;&lt;P&gt;So, I need to get the selected layer from COPYTOLAYER and turn off that layer.&lt;/P&gt;&lt;P&gt;Is it possible to get the selected layer name from COPYTOLAYER command using lisp?&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2019 08:31:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-get-layer-name-selected-in-copytolayer-command-using-lisp/m-p/9163104#M121292</guid>
      <dc:creator>developer2F83JZ</dc:creator>
      <dc:date>2019-11-23T08:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get layer name selected in COPYTOLAYER command using lisp?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-to-get-layer-name-selected-in-copytolayer-command-using-lisp/m-p/9163113#M121293</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7634721"&gt;@developer2F83JZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've used lisp to call COPYTOLAYER command to copy objects and paste in another layer.&lt;/P&gt;
&lt;P&gt;But, if the selected layer is turned off, the pasted objects are not visibile.&lt;/P&gt;
&lt;P&gt;So, I need to get the selected layer from COPYTOLAYER and turn &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;off&lt;/STRONG&gt; &lt;/FONT&gt;that layer.&lt;/P&gt;
&lt;P&gt;Is it possible to get the selected layer name from COPYTOLAYER command using lisp?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Post the code. I don't really follow your description... shouldn't the layer be turn &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;on&lt;/STRONG&gt;&lt;/FONT&gt;?&lt;/P&gt;
&lt;DIV id="gtx-trans" style="position: absolute; left: 128px; top: 228.2px;"&gt;
&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 23 Nov 2019 08:47:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-to-get-layer-name-selected-in-copytolayer-command-using-lisp/m-p/9163113#M121293</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2019-11-23T08:47:19Z</dc:date>
    </item>
  </channel>
</rss>

