Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

acaddoc.lsp -plotstamp

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
jmayo-EE
201 Views, 2 Replies

acaddoc.lsp -plotstamp

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

EESignature

2 REPLIES 2
Message 2 of 3
rkmcswain
in reply to: jmayo-EE

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))

 

R.K. McSwain     | CADpanacea | on twitter
Message 3 of 3
jmayo-EE
in reply to: rkmcswain

Many thanks.

John Mayo

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report