TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Guest on November 21, 2006, 09:41:11 AM

Title: Change Plot to File location
Post by: Guest 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??!?
Title: Re: Change Plot to File location
Post by: rkmcswain 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.
Title: Re: Change Plot to File location
Post by: Guest on November 21, 2006, 09:59:27 AM
Nice.

Thanks!  (so many sysvars.... I forgot about the bgplot variable).
Title: Re: Change Plot to File location
Post by: ronjonp on November 21, 2006, 10:53:30 AM
You can also use:

(setenv "PlotToFilePath" "C:/")

Ron