Lisp not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have the following lines in my keycad.lsp that have work perfectly fine for me up until mid November 2021. Now they either do not work or return "unknown command". Most of these I have had and used for over 25 years.
I am using AutoCAD Architecture 2022. Can anyone help me? Note the first 6 are the most critical to me.
(defun c:le () (command "leader" pause pause pause "" "" "none"))
(defun c:lt () (command "leader" pause pause pause "" "" "None" "dtext" "j" "ml" pause "" "" "dtext" "j" "l" ^C^C))
(defun c:st () (command "stretch" "c"))
(defun c:stc () (command "stretch" "cp"))
(defun c:xa () (command "-xref" "attach" "~"))
(defun c:xrr () (command "-xref" "r" "*"))
(defun c:x? () (command "xref" "?" "*"))
(defun c:i? () (command "insert" "?" "*"))
(defun c:la? () (command "layer" "?" "*"))
(defun c:ua () (command "undo" "b" ""))
(defun c:osm () (command "osmode" "97"))
(DEFUN C:OS0 () (COMMAND "OSMODE" "0"))