Andrew1979 Posted May 6, 2014 Share Posted May 6, 2014 I am trying to find where the AutoCAD 'Support File Search Path' directories are stored on the computer. I want to run an installation program that automatically adds the support file directories. I have looked in the Windows Registry but can't find anywhere they are located. Also, does anyone know where the menus installed from? I have found traces of menus in the windows registry but when I try and open a registry file with the windows registry parameters, they install in the registry but when I open AutoCAD they are not loaded. I have to load them manually. I know I can do a lot of this with lisp but wanted to make a more seamless installation if possible. Thanks Quote Link to comment Share on other sites More sharing options...
Dadgad Posted May 6, 2014 Share Posted May 6, 2014 In OPTIONS, on the FILES tab, you will find a wealth of such information, just click to expand whichever you are looking for. Quote Link to comment Share on other sites More sharing options...
Andrew1979 Posted May 6, 2014 Author Share Posted May 6, 2014 Hi, yes, I know the directory paths are listed there, but I want to know what file format this information is saved in and the location of this information that AutoCAD uses so I can use the windows registry to add the support files. Thanks Quote Link to comment Share on other sites More sharing options...
ReMark Posted May 6, 2014 Share Posted May 6, 2014 Why would you want to edit the Windows Registry to add AutoCAD support files? Are you creating a network deployment? Quote Link to comment Share on other sites More sharing options...
BIGAL Posted May 6, 2014 Share Posted May 6, 2014 This is probably what your looking for ; resets the paths usefull for update versions of Autocad ; by Aalan 2011 ; This sets a reference to the install path of your product ; the gets are their for info maybe other use ; use this to find other settings ;(vlax-dump-object (vla-get-files (vla-get-preferences (vlax-get-Acad-object))) T) (vl-load-com) ; make temp directory ;(vl-mkdir "c:\\AcadTEMP") (setq *files* (vla-get-files (vla-get-preferences (vlax-get-Acad-object)))) ; savepath ;(vla-get-AutoSavepath *files*) (vla-put-AutoSavepath *files* "C:\\AcadTemp") ; custom icons ;(vla-get-CustomIconPath *files*)) (vla-put-CustomIconPath *files* "P:\\Autodesk\\ICONS") ; custom menu ;(vla-get-Menufile *files*)) ;(vla-put-Menufile *files* "C:\\Users\\2013BIGAL") ; printers config ;(vla-get-PrinterConfigPath *files*) (vla-put-PrinterConfigPath *files* "P:\\AutoDESK\\Plotting\\Plot Styles 2011") ; printers style sheet ;(vla-get-PrinterStyleSheetPath *files*) (vla-put-PrinterStyleSheetPath *files* "P:\\AutoDESK\\Plotting\\Plot Styles") ; printer drv's ;(vla-get-PrinterDescPath *files*) (vla-put-PrinterDescPath *files* "P:\\AutoDESK\\Plotting\\Drv") ; print spooler ;(vla-get-PrintSpoolerPath *files*) (vla-put-PrintSpoolerPath *files* "C:\\AcadTemp\\") ; template path ;(vla-get-TemplateDwgPath *files*) (vla-put-TemplateDwgPath *files* "P:\\Autodesk\\c3d Templates") ; template location ;(vla-get-QnewTemplateFile *files*) (vla-put-QnewTemplateFile *files* "P:\\Autodesk\\c3d Templates\\BIGAL.dwt") ;make new support paths exist + new (setq paths (vla-get-SupportPath *files*)) (setq BIGALpaths "P:\\autodesk\\supportfiles; P:\\autodesk\\lisp; P:\\autodesk\\fonts; P:\\autodesk\\hfs fonts;" ) (setq newpath (strcat BIGALpaths paths)) (vla-put-SupportPath *files* newpath) ; Tempdirectory ;(vla-get-TempFilePath *files*)) (vla-put-TempFilePath *files* "C:\\AcadTemp\\") ; PlotLogFilePath = "C:\\Documents and Settings\\BIGAL.BIGAL-AD\\local settings\\application data\\autodesk\\c3d 2011\\enu\\" (vla-put-PlotLogFilePath *files* "C:\\AcadTemp\\") ; LogFilePath = "C:\\Documents and Settings\\BIGAL.BIGAL-AD\\local settings\\application data\\autodesk\\c3d 2011\\enu\\" (vla-put-LogFilePath *files* "C:\\AcadTemp\\") ; xref temp path ;(vla-get-TempXrefPath *files*)) (vla-put-TempXrefPath *files* "C:\\AcadTemp\\") ; end use of *files* (vlax-release-object *files*) ; exit quitely (princ "All Done") Quote Link to comment Share on other sites More sharing options...
troggarf Posted May 7, 2014 Share Posted May 7, 2014 Here's a quick snap shot. Its under HKEY_CURRENT_USER [ATTACH=CONFIG]48709[/ATTACH] Quote Link to comment Share on other sites More sharing options...
rkmcswain Posted May 7, 2014 Share Posted May 7, 2014 I am trying to find where the AutoCAD 'Support File Search Path' directories are stored on the computer. I want to run an installation program that automatically adds the support file directories. I have looked in the Windows Registry but can't find anywhere they are located. If you are wanting to set these paths at AutoCAD startup, avoid fooling with the registry and use the built in AutoCAD startup file "acad.lsp". Here is how: http://bit.ly/19yOzDe Quote Link to comment Share on other sites More sharing options...
BIGAL Posted May 8, 2014 Share Posted May 8, 2014 Like rkmcswain stay away from the registery do some more home work on using "Profies" these are stored custom settings you can copy and distibute have as many as you like, from the end user point of view you just give him different desktop icons look at Autocad icon properties for the /p Use the lisp above I posted to help creating the default settings. Quote Link to comment Share on other sites More sharing options...
Andrew1979 Posted May 8, 2014 Author Share Posted May 8, 2014 thanks everyone. Yes, I would prefer to stay away from the registry if possible Quote Link to comment Share on other sites More sharing options...
BIGAL Posted May 9, 2014 Share Posted May 9, 2014 Note my last comment elsewhere 2105 you now have "Trusted locations" will add shortly to code example else will ask for every lisp opened. ; run this to see all (vlax-dump-object (vla-get-files (vla-get-preferences (vlax-get-Acad-object))) T) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.