Author Topic: Change Plot to File location  (Read 2063 times)

0 Members and 1 Guest are viewing this topic.

Guest

  • Guest
Change Plot to File location
« on: November 21, 2006, 09:41:11 AM »
I would like to change the default PLOT TO FILE location (on the Plot & Publish tab of the Options dialog box), but I don't know what, if any, the variable name is.  Also, I would like to ensure that the PUBLISHING check box is checked.

Anyone know how to change this programmatically??!?

rkmcswain

  • Swamp Rat
  • Posts: 978
Re: Change Plot to File location
« Reply #1 on: November 21, 2006, 09:52:10 AM »
I would like to change the default PLOT TO FILE location (on the Plot & Publish tab of the Options dialog box), but I don't know what, if any, the variable name is.

Example:

Code: [Select]
(vla-put-DefaultPlotToFilePath (vla-get-Output (vla-get-Preferences (vlax-get-acad-object))) "c:\\")
Also, I would like to ensure that the PUBLISHING check box is checked.

Are you talking about "background processing"?

This is the BACKGROUNDPLOT system variable.

Guest

  • Guest
Re: Change Plot to File location
« Reply #2 on: November 21, 2006, 09:59:27 AM »
Nice.

Thanks!  (so many sysvars.... I forgot about the bgplot variable).

ronjonp

  • Needs a day job
  • Posts: 7526
Re: Change Plot to File location
« Reply #3 on: November 21, 2006, 10:53:30 AM »
You can also use:

(setenv "PlotToFilePath" "C:/")

Ron

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC