TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Chillme1 on December 20, 2021, 10:31:27 AM
-
Before a needed back-to-basics LISP learning series, I ask:
What is needed to make this borrowed lisp routine run?
After ensuring the attached lisp file routine is in the SFSP and the loading it (load "deletelayerstate"), AutoCAD proudly announces that the LOAD failed.
(defun c:deletelayerstate
(/ lsp pat s
) (if (setq lst
(a
+layerstatelist
)) );foreach
(setq pat
(getstring "\nType name or patern of layerstates to delete: ")) (beep)
);progn
);if
);foreach
);progn
);if
);defun
-
You need to find the following functions (and load those at the same time as this one):
(a+laterstatelist)
(beep)
-
Ah-ha! Delving into web history...!
Thanks,