Generally, if you run menuload to load the menu or cuix files, ZWCAD will remember this, and will show the menu when you restart ZWCAD. However, sometimes there will be problem, that when you restart ZWCAD, you need to reload it again, which is annoying. Here is a solution to workaround it.


Just find the ZWCAD2019.lsp in the installation directory, the file name will change according to the version you are installed.

Add the following lines before the last line "(princ)", need to modify according the menu or cuix file and file path.


(defun InitMenu()
(if (not (menugroup "Ceus"))
  (progn
    ;;  quietly load menu
     (setq filedia (getvar "FILEDIA"))
       (setq cmdecho (getvar "CMDECHO"))
      (setvar "FILEDIA" 0)
    (setvar "CMDECHO" 0)
    (command "_.MENULOAD" "X:\\John\\Ceus.mns")
    (setvar "FILEDIA" filedia)
    (setvar "CMDECHO" cmdecho)
    (princ)
  )
)
)
(InitMenu)


Attached is the file after modification FYI.