Author Topic: plot & publish log path  (Read 2308 times)

0 Members and 1 Guest are viewing this topic.

AfricaAD

  • Guest
plot & publish log path
« on: April 30, 2007, 06:17:07 PM »
This may have been asked before, is there a lisp to change the path for the plot & publish log?

Thanks!

ronjonp

  • Needs a day job
  • Posts: 7531
Re: plot & publish log path
« Reply #1 on: May 01, 2007, 10:52:31 AM »
This might get you started:

Code: [Select]
(defun filepaths (/ prefs files path)
  (setq prefs (vla-get-preferences (vlax-get-acad-object))
files (vla-get-files prefs)
  )
  (progn
    (setq path "C:\\YOUR PATH\\")
    (vla-put-printerconfigpath files (strcat path "Plotters"))
    (vla-put-printerstylesheetpath
      files
      (strcat path "Plot Styles")
    )
    (vla-put-printerdescpath
      files
      (strcat path "Plotters\\PMP")
    )
    (vla-put-plotlogfilepath files (strcat path "Plot Log"))
    (vla-put-templatedwgpath
      files
      (strcat path "Sheet Manager")
    )
    (vla-put-pagesetupoverridestemplatefile
      files
      (strcat path "sheet manager\\sht_manager_overrides.dwt")
    )
  )
  (princ)
)

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

AfricaAD

  • Guest
Re: plot & publish log path
« Reply #2 on: May 01, 2007, 02:02:23 PM »
That worked!  :-)

Thansk!