Jump to content

Anyone know where this information is stored?


Andrew1979

Recommended Posts

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

Link to comment
Share on other sites

In OPTIONS, on the FILES tab, you will find a wealth of such information,

just click to expand whichever you are looking for.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Why would you want to edit the Windows Registry to add AutoCAD support files? Are you creating a network deployment?

Link to comment
Share on other sites

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")

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...