I am trying to force the plotstamp variable on for each dwg opened/created. I placed this in my acaddoc.lsp file,
(command "-plotstamp" "On" "")
and it does not work.
I then tried this w/o success.
(command "-plotstamp" "On" "")
Do I have somethig wrong with the syntax or does this not work in acaddoc.lsp?
John Mayo
Solved! Go to Solution.
Solved by rkmcswain. Go to Solution.
When you call the (command) function in a startup lisp routine, it has to be inside of the (s::startup) function, which is executed after AutoCAD is initialized.
;;;example (defun-q mystartup () (command "-plotstamp" "_On" "") (princ) ) (setq S::STARTUP (append S::STARTUP mystartup))