As part of another lisp I am working on I wanted to utilize the command "color" which brings up the select color dialog. Any reason this does not "pop up" when run in the following code?
(defun c:coloring (/ oldecho oldcolor newcolor)
(setq oldecho (getvar "cmdecho"))
(setvar "cmdecho" 1)
(setq oldcolor (getvar "cecolor"))
(command ".color" pause)
(setq newcolor (getvar "cecolor"))
(prompt (strcat "\nThe OLD color was <" oldcolor "> and the NEW color is <" newcolor ">"))
(setvar "cmdecho" oldecho)
(princ)
)
Thanks,
Dan