<?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 -OVERKILL command string in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14033889#M170199</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am currently attempting to write some LISP code to carry out the -OVERKILL, -PURGE, AUDIT and SPELL commands in this specific order in an attempt to make an easy way to clean up drawings in AutoCAD 2023.&lt;/P&gt;&lt;P&gt;Unfortunately, I am having some issues with the -OVERKILL command, specifically simulating the enter key after object selection. I have attempted to use " " and ";" to no effect.&lt;/P&gt;&lt;P&gt;If anyone has any tips on how to get this to work that would be great! I have copied my attempt at coding this below for anyone to check out.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:CLEANUP ( / )&lt;BR /&gt;(princ "\nStarting drawing cleanup...")&lt;/P&gt;&lt;P&gt;(command "-OVERKILL" "ALL" ";" "D")&lt;BR /&gt;(princ "\nNo objects to clean with OVERKILL.")&lt;/P&gt;&lt;P&gt;(command "-PURGE" "ALL" "*" "N")&lt;/P&gt;&lt;P&gt;(command "AUDIT" "Y")&lt;/P&gt;&lt;P&gt;(command "SPELL")&lt;/P&gt;&lt;P&gt;(princ "\nCleanup complete.")&lt;BR /&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Feb 2026 15:06:20 GMT</pubDate>
    <dc:creator>frankie_rankin</dc:creator>
    <dc:date>2026-02-26T15:06:20Z</dc:date>
    <item>
      <title>-OVERKILL command string</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14033889#M170199</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am currently attempting to write some LISP code to carry out the -OVERKILL, -PURGE, AUDIT and SPELL commands in this specific order in an attempt to make an easy way to clean up drawings in AutoCAD 2023.&lt;/P&gt;&lt;P&gt;Unfortunately, I am having some issues with the -OVERKILL command, specifically simulating the enter key after object selection. I have attempted to use " " and ";" to no effect.&lt;/P&gt;&lt;P&gt;If anyone has any tips on how to get this to work that would be great! I have copied my attempt at coding this below for anyone to check out.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:CLEANUP ( / )&lt;BR /&gt;(princ "\nStarting drawing cleanup...")&lt;/P&gt;&lt;P&gt;(command "-OVERKILL" "ALL" ";" "D")&lt;BR /&gt;(princ "\nNo objects to clean with OVERKILL.")&lt;/P&gt;&lt;P&gt;(command "-PURGE" "ALL" "*" "N")&lt;/P&gt;&lt;P&gt;(command "AUDIT" "Y")&lt;/P&gt;&lt;P&gt;(command "SPELL")&lt;/P&gt;&lt;P&gt;(princ "\nCleanup complete.")&lt;BR /&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 15:06:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14033889#M170199</guid>
      <dc:creator>frankie_rankin</dc:creator>
      <dc:date>2026-02-26T15:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: -OVERKILL command string</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14034111#M170200</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Bonjour&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17061421"&gt;@frankie_rankin&lt;/a&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Try with this syntax :&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;(command "-overkill" "_all" "" "" )&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Tell me if it works on your pc please&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Amicalement&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 17:05:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14034111#M170200</guid>
      <dc:creator>-didier-</dc:creator>
      <dc:date>2026-02-26T17:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: -OVERKILL command string</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14034141#M170201</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/691430"&gt;@-didier-&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attempted to use that syntax and unfortunately it doesn't seem to work.&lt;/P&gt;&lt;P&gt;it appears to get up to "_all" before being unable to continue.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 17:20:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14034141#M170201</guid>
      <dc:creator>frankie_rankin</dc:creator>
      <dc:date>2026-02-26T17:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: -OVERKILL command string</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14034172#M170202</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/691430"&gt;@-didier-&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;....&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;(command "-overkill" "_all" "" "" )&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;....&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That works for me.&amp;nbsp; Could there be a language-version or undefinition problem?&amp;nbsp; Try&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; "&lt;FONT size="5" color="#FF0000"&gt;_.&lt;/FONT&gt;-overkill"&lt;/STRONG&gt; &lt;/FONT&gt;.&amp;nbsp; Are there any messages?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 17:39:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14034172#M170202</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2026-02-26T17:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: -OVERKILL command string</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14034360#M170205</link>
      <description>&lt;P&gt;works fine on my 2023.1.8&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_.PNG" style="width: 949px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1621716i45CA49E779F0A4B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="_.PNG" alt="_.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 18:35:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14034360#M170205</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2026-02-26T18:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: -OVERKILL command string</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14034714#M170210</link>
      <description>&lt;P&gt;Works for me Bricscad.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"" is the equivalent of pressing &lt;STRONG&gt;Enter&lt;/STRONG&gt; in a lot of code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(command "line" pt1 pt2 "")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 23:42:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14034714#M170210</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2026-02-26T23:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: -OVERKILL command string</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14035105#M170215</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Bonjour&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17061421"&gt;@frankie_rankin&lt;/a&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;I am surprised by what you are writing about the non-functioning of the line of code. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;What reassures me are the answers of the other members who confirm my version. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Try again please.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Amicalement&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Feb 2026 09:02:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14035105#M170215</guid>
      <dc:creator>-didier-</dc:creator>
      <dc:date>2026-02-27T09:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: -OVERKILL command string</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14035145#M170217</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just made the change you suggested and it worked right away!&lt;/P&gt;&lt;P&gt;thank you all for your help with this, it's really appreciated&lt;/P&gt;</description>
      <pubDate>Fri, 27 Feb 2026 09:36:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/overkill-command-string/m-p/14035145#M170217</guid>
      <dc:creator>frankie_rankin</dc:creator>
      <dc:date>2026-02-27T09:36:00Z</dc:date>
    </item>
  </channel>
</rss>

