Can anyone tell me why S::Startup runs every line of lisp code except for the code that starts with "command"?
Below is my example:
Only the "setvars" and "setqs" execute, the "command" functions do not happen when a new drawing is started.Code:(defun s::startup () (COMMAND "undefine" "plot") (setq exp (getvar "expert")) (setvar "expert" 5) (setvar "filedia" 0) (COMMAND "-psetupin" (STRCAT plotdir "CFE Plotting Page Setup.dwt") "*") (setvar "expert" exp) (setvar "filedia" 1) (princ "\nStartup Loaded.") )
Help anyone?