Plot Style Search Path - so this can't be set programatically? that sucks.
I have this bit of code in a mnl file so that once the menu is loaded it sets some stuff up:
;;; setup search and plotter paths
;;; then menu has just been loaded
(progn
(if (menugroup "kb00")
(progn
(setq menuLocation (vla-get-MenuFileName (vla-item(vla-get-menugroups(vlax-get-acad-object))"kb00"))
filelist (vla-get-SupportPath
(vla-get-files (vla-get-Preferences (vlax-get-acad-object)))
)
)
(if (vl-string-search "kb0018" filelist)
(princ "\nPath exists")
(progn
(vlax-put
(vla-get-files (vla-get-Preferences (vlax-get-acad-object)))
'SupportPath
(strcat filelist ";" (vl-string-right-trim "\\kb0018.cui" menuLocation))
)
)
)
(kb:STARTUP)
)
)
(setq menuLocation nil
filelist nil)
)
(kb:Startup) is defined above this bit.