Scoobydoo Posted November 2, 2011 Share Posted November 2, 2011 When AutoCAD is installed on a computer, the default settings are automatically generated in the Options settings, and in most cases, they are defaulted to the C:\DOCUMENTS AND SETTINGS\JOEUSER\..... folder respectively. If I create a CUSTOM PROFILE.ARG file based on the changes to the folder path for custom templates, template locations, backup location, and the location for plot styles, etc., will I run into issues if I install the CUSTOM PROFILE.ARG file onto another computer for a different user? Will the CUSTOM PROFILE.ARG file not load properly if it is “looking” for JOEUSER, or will the default settings that were not changed automatically carry over to the new user? I.e., most of my default folder locations are C:\Documents and Settings\E274. My coworker is C:\Documents and Settings\E372. Will AutoCAD know to automatically change the user, even though the CUSTOM PROFILE.ARG file was originally setup using my user ID? Your help/assistance is appreciated! Thanks! Quote Link to comment Share on other sites More sharing options...
BIGAL Posted November 3, 2011 Share Posted November 3, 2011 You can set up custom user details in a lisp for the support paths etc as above you would ask for user ID and change code below hope it helps. ; This sets a reference to the install path of your product ; the gets are their for info maybe other use ; Alan 2011 (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* "S:\\Autodesk\\ICONS") ; printers config ;(vla-get-PrinterConfigPath *files*) (vla-put-PrinterConfigPath *files* "S:\\AutoDESK\\Plotting\\Plot Styles 2011") ; printers style sheet ;(vla-get-PrinterStyleSheetPath *files*) (vla-put-PrinterStyleSheetPath *files* "S:\\AutoDESK\\Plotting\\Plot Styles") ; printer drv's ;(vla-get-PrinterDescPath *files*) (vla-put-PrinterDescPath *files* "S:\\AutoDESK\\Plotting\\Drv") ; print spooler ;(vla-get-PrintSpoolerPath *files*) (vla-put-PrintSpoolerPath *files* "C:\\ACADTemp\\") ; template location ;(vla-get-QnewTemplateFile *files*) (vla-put-QnewTemplateFile *files* "S:\\Autodesk\\c3d Templates\\cogg.dwt") ;make new support paths exist + new (setq paths (vla-get-SupportPath *files*)) (setq coggpaths "S:\\autodesk\\supportfiles; S:\\autodesk\\lisp; S:\\autodesk\\fonts; S:\\autodesk\\hfs fonts;" ) (setq newpath (strcat coggpaths paths)) (vla-put-SupportPath *files* newpath) ; Tempdirectory ;(vla-get-TempFilePath *files*)) (vla-put-TempFilePath *files* "C:\\ACADTemp\\") ; template path ;(vla-get-TemplateDwgPath *files*) (vla-put-TemplateDwgPath *files* "S:\\Autodesk\\c3d Templates") ; 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...
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.