im not sure if this question has been asked (i did search for it) but i am wondering if the "Trusted Locations" can be accessed the same way the "support path" would be.
(vl-load-com);enable VLisp functions
(setq AcadObject (vlax-get-acad-object));store a reference to the Application Object
(setq PrefsObject (vlax-get-property AcadObject 'Preferences));store a reference to Preferences (Preferences object)
(setq TabNameObjectoptions (vlax-get-property PrefsObject 'Files));Store a reference to the Files (Files Object)
;----------------Support Path manipulation------------------
(setq ThePath (vlax-get-property TabNameObject 'SupportPath));get the existing supprt path
(setq TrustedSites (vlax-get-property TabNameObject 'TrustedLocations));get the existing Trusted Sites
(setq ThePath (strcat ThePath ";" "\\nprdd08\\acm03\\user\\andy\\blocks;\\nprdd08\\acm03\\user\\andy\\file;\\nprdd08\\acm03\\user\\andy\\menu;c:\\documents and settings\\acm03\\acad stuff\\menu stuff;c:\\documents and settings\\acm03\\acad stuff\\blocks"))
;---------------Update the path-----------------------------
(vlax-put-property TabNameObject 'SupportPath ThePath)
I have looked for the "Trusted Locations" in the AcadObject but i dont readily see it......