PDA

View Full Version : VLA-Command


ewhite
2007-07-10, 05:41 PM
Does anyone know the VLA command to set the "Plot and Publish Log file Location" Path?

Any help would be appreciated.

.T.
2007-07-10, 06:00 PM
Does anyone know the VLA command to set the "Plot and Publish Log file Location" Path?

Any help would be appreciated.

Hi Eric,

Maybe this will help:

(vl-load-com)
(setq pref_files (vla-get-files (vla-get-preferences (vlax-get-acad-object))))
(vla-put-PlotLogFilePath pref_files "YOUR PATH GOES HERE")

ewhite
2007-07-10, 06:59 PM
That works perfectly, thank you very much

rkmcswain
2007-07-10, 07:27 PM
Does anyone know the VLA command to set the "Plot and Publish Log file Location" Path?

Any help would be appreciated.

If you get stuck in the future, you can open the developers help (acad_dev.chm), then click on "ActiveX and VBA Reference", then click on Object Model.
From that map, you should be able to find what you are looking for.

Good luck.