<?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 Script gets stuck in the -LAYER command in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/script-gets-stuck-in-the-layer-command/m-p/14053545#M361300</link>
    <description>&lt;P&gt;Hello, I am trying to make a .scr file that can import points and sort them into layers and colours. The main issue I have been having is getting stuck in the -LAYER command, it can create a new layer but not exit the command and keeps trying to put following commands into the layer box. I have tried using the ASCII ESC key but that seems to just quit the script entirely, not just exiting the command like I want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can anyone help, and suggestions are greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SCRIPT:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;-LAYER N TEST6&lt;BR /&gt;

CECOLOR 1
_POINT 1,1,1
_POINT 2,2,2
_POINT 3,3,3
_POINT 4,4,4
CECOLOR 2
_POINT 5,5,5
_POINT 6,6,6
_POINT 7,7,7
_POINT 8,8,8&lt;BR /&gt;&amp;#27;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Mar 2026 11:26:09 GMT</pubDate>
    <dc:creator>dillonrose</dc:creator>
    <dc:date>2026-03-13T11:26:09Z</dc:date>
    <item>
      <title>Script gets stuck in the -LAYER command</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/script-gets-stuck-in-the-layer-command/m-p/14053545#M361300</link>
      <description>&lt;P&gt;Hello, I am trying to make a .scr file that can import points and sort them into layers and colours. The main issue I have been having is getting stuck in the -LAYER command, it can create a new layer but not exit the command and keeps trying to put following commands into the layer box. I have tried using the ASCII ESC key but that seems to just quit the script entirely, not just exiting the command like I want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can anyone help, and suggestions are greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SCRIPT:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;-LAYER N TEST6&lt;BR /&gt;

CECOLOR 1
_POINT 1,1,1
_POINT 2,2,2
_POINT 3,3,3
_POINT 4,4,4
CECOLOR 2
_POINT 5,5,5
_POINT 6,6,6
_POINT 7,7,7
_POINT 8,8,8&lt;BR /&gt;&amp;#27;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 11:26:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/script-gets-stuck-in-the-layer-command/m-p/14053545#M361300</guid>
      <dc:creator>dillonrose</dc:creator>
      <dc:date>2026-03-13T11:26:09Z</dc:date>
    </item>
    <item>
      <title>Betreff: Script gets stuck in the -LAYER command</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/script-gets-stuck-in-the-layer-command/m-p/14053552#M361301</link>
      <description>&lt;P class="lia-align-left"&gt;Hi,&lt;/P&gt;&lt;P class="lia-align-left"&gt;you restart layer command!&lt;/P&gt;&lt;P class="lia-align-left"&gt;Type in by Hand, or see your log [F2]&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;LAYER&amp;lt;enter&amp;gt; to start Layer command&lt;BR /&gt;N&amp;lt;enter&amp;gt; to start New option&lt;BR /&gt;TEST6&amp;lt;enter&amp;gt; to enter Layername&lt;BR /&gt;&amp;lt;enter&amp;gt; to exist Layer command
&amp;lt;enter&amp;gt; YOU START LAYER COMMAND WITH THOS ENTER
C....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Delete one blank line and zest it again.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 11:37:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/script-gets-stuck-in-the-layer-command/m-p/14053552#M361301</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2026-03-13T11:37:53Z</dc:date>
    </item>
    <item>
      <title>Betreff: Script gets stuck in the -LAYER command</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/script-gets-stuck-in-the-layer-command/m-p/14053555#M361302</link>
      <description>&lt;P&gt;Thank you so much, you've saved me !&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 11:41:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/script-gets-stuck-in-the-layer-command/m-p/14053555#M361302</guid>
      <dc:creator>dillonrose</dc:creator>
      <dc:date>2026-03-13T11:41:30Z</dc:date>
    </item>
  </channel>
</rss>

