TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: ronjonp on December 01, 2003, 04:05:31 PM
-
How do I get the plot dialogue box to pop-up in lisp. Right now it is sending the plot command to the command line.
(defun c:page (/)
(command ".-insert" "R:\\AEITITLE\\pagesetups.dwg"
"0,0" "1"
"1" "0"
)
(command ".plot")
(princ)
)
(c:page)
-
Hmmm... the age old question....
Use this....
(initdia 1)
(command ".plot")
-
Oh... and drop the final (princ) from the code, it may interfere since you are calling the dialog with initdia. If you send command line calls while a dialog is active it may cause AutoCAD to crash in some instances.
-
thanks Keith :D