Author Topic: Plot Dialogue  (Read 4078 times)

0 Members and 1 Guest are viewing this topic.

ronjonp

  • Needs a day job
  • Posts: 7526
Plot Dialogue
« 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.

Code: [Select]
(defun c:page (/)

  (command ".-insert" "R:\\AEITITLE\\pagesetups.dwg"
  "0,0" "1"
  "1"                "0"
 )
  (command ".plot")
  (princ)
)
(c:page)

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Plot Dialogue
« Reply #1 on: December 01, 2003, 04:07:58 PM »
Hmmm... the age old question....
 Use this....

Code: [Select]

(initdia 1)
(command ".plot")
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Plot Dialogue
« Reply #2 on: December 01, 2003, 04:12:35 PM »
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.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

ronjonp

  • Needs a day job
  • Posts: 7526
Plot Dialogue
« Reply #3 on: December 01, 2003, 04:50:00 PM »
thanks Keith  :D

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC