- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Our company has a startup lisp routine that we run from the appload startup suite in Vanilla CAD and Civil 3D. It seems the CMDECHO is not resetting back to 1. This lisp routine has been around for a while and we just add to the middle so I thought I would post the whole thing just in case anyone has any recommendations on any of it, but hopefully the answer is just in the bottom in the "Settings at LISP close" part.
;;Company Name
;;Company-wide custom lisp routines to be loaded with AutoCAD Civil 3D - Revised 03-18-2021
:------------------
(defun lalf ()
;;SETTINGS AT LISP OPEN
(SETVAR "cmdecho" 0)
;;COMMANDS & SYSTEM VARIABLES
(COMMAND "MAXSORT" "5000")
(COMMAND "HPORIGINMODE" "5")
;;LOAD LISPS
;;path for lisp
(setq b:lsppath "x:\\_autocad\\lsp\\")
;;path to blocks used by lisp routines
(setq b:blkpath "x:\\_autocad\\lsp\\blks\\")
(load (strcat b:lsppath "civilobjectson"))
(load (strcat b:lsppath "cena"))
(load (strcat b:lsppath "ddeans"))
(load (strcat b:lsppath "demolish"))
(load (strcat b:lsppath "dho"))
(load (strcat b:lsppath "dis"))
(load (strcat b:lsppath "dvdwg"))
(load (strcat b:lsppath "dvo"))
(load (strcat b:lsppath "em"))
(load (strcat b:lsppath "featurelinequickkeys"))
(load (strcat b:lsppath "fndshape"))
(load (strcat b:lsppath "ho"))
(load (strcat b:lsppath "inv"))
(load (strcat b:lsppath "lblarea"))
(load (strcat b:lsppath "ll"))
(load (strcat b:lsppath "MergeHatch"))
(load (strcat b:lsppath "Narrow"))
(load (strcat b:lsppath "parea"))
(load (strcat b:lsppath "pld"))
(load (strcat b:lsppath "rarea"))
(load (strcat b:lsppath "rc"))
(load (strcat b:lsppath "SETPRINT"))
(load (strcat b:lsppath "slope"))
(load (strcat b:lsppath "systemvariables"))
(load (strcat b:lsppath "ta"))
(load (strcat b:lsppath "tl"))
(load (strcat b:lsppath "tlen"))
(load (strcat b:lsppath "tWlsp"))
(load (strcat b:lsppath "VP(UN)LOCK"))
(load (strcat b:lsppath "VPLOCK"))
(SETQ ABCDEF (GETVAR "DWGNAME"))
)
;;SETTINGS AT LISP CLOSE
(SETVAR "cmdecho" 1)
;;----------
;;----------
(lalf)
(print "Loading Custom Lisp Routines")
(print "Revised 03/18/2021")
(princ)
Solved! Go to Solution.