<?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 not working in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10806148#M51536</link>
    <description>&lt;P&gt;If you've been using these for 25 years, perhaps it's time to change to work with the advances made in AutoCAD. Before analyzing your commands, my first thought to why these might not be working is that, if you've recently upgraded, you may not have 1. added the locations of the file that contains these commands and/or 2. added the folders as trusted locations. Both of these can be done in your profile.&lt;/P&gt;
&lt;P&gt;BTW: This is not a customization forum.&amp;nbsp; I am reporting that the thread should be moved to the customization forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as the commands,&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Adding leaders without content is something that should be done very rarely, such as to show a sliding window direction.&amp;nbsp; I doubt it deserves a shortcut.&lt;/LI&gt;
&lt;LI&gt;C:LT - Not using the built in capabilities of multileaders to add text seems like a big waste.&amp;nbsp; Why keep separate leader and text content objects that can be separated from one another?&amp;nbsp; Why use dtext, which has no flow adjustments?&lt;/LI&gt;
&lt;LI&gt;C:ST - Stretch already has an alias&amp;nbsp; "S".&amp;nbsp; If you learn to pick right side first, you never need to enter the "C".&lt;/LI&gt;
&lt;LI&gt;C:XA - I get this but the full command name is _.xattach, including the translation and command override characters.&lt;/LI&gt;
&lt;LI&gt;C:XRR &amp;amp; C:X? - These commands seem like a real waste.&amp;nbsp; The xref palette, which can autoshrink, can be used for both purposes and doesn't require toggling to the textscreen.&lt;/LI&gt;
&lt;LI&gt;C:I?&amp;nbsp; -&amp;nbsp; The Current I shortcut has a dialog that lists the loaded blocks.&amp;nbsp; The ribbon also has a gallery of blocks.&amp;nbsp; Learn to use the improvments since R12.&lt;/LI&gt;
&lt;LI&gt;C:la? - Really?&amp;nbsp; What's wrong with the layer palette? (Alias LA unless, you've redefined it.)&lt;/LI&gt;
&lt;LI&gt;C:UA - Sounds scary to put this on a shortcut key?&amp;nbsp; Do this a lot?&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Tue, 07 Dec 2021 13:19:44 GMT</pubDate>
    <dc:creator>dbroad</dc:creator>
    <dc:date>2021-12-07T13:19:44Z</dc:date>
    <item>
      <title>Lisp not working</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10804598#M51532</link>
      <description>&lt;P&gt;I have the following lines in my keycad.lsp that have work perfectly fine for me up until mid November 2021.&amp;nbsp; Now they either do not work or return "unknown command".&amp;nbsp; Most of these I have had and used for over 25 years.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using AutoCAD Architecture 2022.&amp;nbsp; Can anyone help me?&amp;nbsp; Note the first 6 are the most critical to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:le () (command "leader" pause pause pause "" "" "none"))&lt;BR /&gt;(defun c:lt () (command "leader" pause pause pause "" "" "None" "dtext" "j" "ml" pause "" "" "dtext" "j" "l" ^C^C))&lt;BR /&gt;(defun c:st () (command "stretch" "c"))&lt;BR /&gt;(defun c:stc () (command "stretch" "cp"))&lt;/P&gt;&lt;P&gt;(defun c:xa () (command "-xref" "attach" "~"))&lt;BR /&gt;(defun c:xrr () (command "-xref" "r" "*"))&lt;BR /&gt;(defun c:x? () (command "xref" "?" "*"))&lt;/P&gt;&lt;P&gt;(defun c:i? () (command "insert" "?" "*"))&lt;BR /&gt;(defun c:la? () (command "layer" "?" "*"))&lt;BR /&gt;(defun c:ua () (command "undo" "b" ""))&lt;/P&gt;&lt;P&gt;(defun c:osm () (command "osmode" "97"))&lt;BR /&gt;(DEFUN C:OS0 () (COMMAND "OSMODE" "0"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 20:20:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10804598#M51532</guid>
      <dc:creator>twallacemagee</dc:creator>
      <dc:date>2021-12-06T20:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp not working</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10804616#M51533</link>
      <description>What changed with your PC or setup since November? "unknown command" in this case simply means your keycad.lsp is not in the search path of your session/not in a folder tagged as trusted, not much else. Just like the same if it was also missing in all other year versions/variants of AutoCAD in the past.</description>
      <pubDate>Mon, 06 Dec 2021 20:33:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10804616#M51533</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2021-12-06T20:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp not working</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10804662#M51534</link>
      <description>&lt;P&gt;That is what I would like to know.&amp;nbsp; There have been some windows updates I am not sure if there were recent AutoCAD updates since they stopped working. Please note that these are not the only short commands that are in my Keycad.lsp about half of them still work like they are but these and a few others suddenly do not.&amp;nbsp; The lisp is in a “trusted location”.&amp;nbsp; The folder has never been added to the working support file search path but it has and again still partially does work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I type "stretch" "c" (for crossing window) and select points it works exactly like the ST short command is intendded to work.&amp;nbsp; If I type -xref Attach, etc. it all works like intended.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 21:01:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10804662#M51534</guid>
      <dc:creator>twallacemagee</dc:creator>
      <dc:date>2021-12-06T21:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp not working</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10804763#M51535</link>
      <description>&amp;gt;&amp;gt;&amp;gt;... my Keycad.lsp about half of them still work like they are but these and a few others suddenly do not...&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;Can you share that single LSP file here for others to try? Seems odd that half a LSP file's content work, the other half do not (or whatever the ratio is).</description>
      <pubDate>Mon, 06 Dec 2021 22:02:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10804763#M51535</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2021-12-06T22:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp not working</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10806148#M51536</link>
      <description>&lt;P&gt;If you've been using these for 25 years, perhaps it's time to change to work with the advances made in AutoCAD. Before analyzing your commands, my first thought to why these might not be working is that, if you've recently upgraded, you may not have 1. added the locations of the file that contains these commands and/or 2. added the folders as trusted locations. Both of these can be done in your profile.&lt;/P&gt;
&lt;P&gt;BTW: This is not a customization forum.&amp;nbsp; I am reporting that the thread should be moved to the customization forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as the commands,&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Adding leaders without content is something that should be done very rarely, such as to show a sliding window direction.&amp;nbsp; I doubt it deserves a shortcut.&lt;/LI&gt;
&lt;LI&gt;C:LT - Not using the built in capabilities of multileaders to add text seems like a big waste.&amp;nbsp; Why keep separate leader and text content objects that can be separated from one another?&amp;nbsp; Why use dtext, which has no flow adjustments?&lt;/LI&gt;
&lt;LI&gt;C:ST - Stretch already has an alias&amp;nbsp; "S".&amp;nbsp; If you learn to pick right side first, you never need to enter the "C".&lt;/LI&gt;
&lt;LI&gt;C:XA - I get this but the full command name is _.xattach, including the translation and command override characters.&lt;/LI&gt;
&lt;LI&gt;C:XRR &amp;amp; C:X? - These commands seem like a real waste.&amp;nbsp; The xref palette, which can autoshrink, can be used for both purposes and doesn't require toggling to the textscreen.&lt;/LI&gt;
&lt;LI&gt;C:I?&amp;nbsp; -&amp;nbsp; The Current I shortcut has a dialog that lists the loaded blocks.&amp;nbsp; The ribbon also has a gallery of blocks.&amp;nbsp; Learn to use the improvments since R12.&lt;/LI&gt;
&lt;LI&gt;C:la? - Really?&amp;nbsp; What's wrong with the layer palette? (Alias LA unless, you've redefined it.)&lt;/LI&gt;
&lt;LI&gt;C:UA - Sounds scary to put this on a shortcut key?&amp;nbsp; Do this a lot?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 07 Dec 2021 13:19:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10806148#M51536</guid>
      <dc:creator>dbroad</dc:creator>
      <dc:date>2021-12-07T13:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp not working</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10806188#M51537</link>
      <description>&lt;P&gt;See attached.&amp;nbsp; Also attached PDF of the ones that I care about and what is happening when I try to use them.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 13:31:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10806188#M51537</guid>
      <dc:creator>twallacemagee</dc:creator>
      <dc:date>2021-12-07T13:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp not working</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10806203#M51538</link>
      <description>&lt;P&gt;Why change what works?&amp;nbsp; At least until AotoCAD breaks what works.&amp;nbsp; This is not an issue of being in the wrong location unless AutoDesk changes some pathing in the last few weeks updates as they worked fine with AutoCAD 2022 since I installed it when it was first released.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 13:36:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10806203#M51538</guid>
      <dc:creator>twallacemagee</dc:creator>
      <dc:date>2021-12-07T13:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp not working</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10816731#M51539</link>
      <description>&lt;P&gt;I try convert the keycad.lsp into more-programe.&lt;/P&gt;&lt;P&gt;Advantages. You can add more check-in (Example: ViewState no saved)&lt;/P&gt;&lt;P&gt;Please, you test this version, for funny, I add one file snapshot.gif&lt;/P&gt;&lt;P&gt;You tell me, I continue to work, this test version, is good enough, now?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:48:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-not-working/m-p/10816731#M51539</guid>
      <dc:creator>diagodose2009</dc:creator>
      <dc:date>2021-12-11T20:48:37Z</dc:date>
    </item>
  </channel>
</rss>

