(vla-get-preferences (vlax-get-acad-object)) This sets a reference to the files portion of the acad preferences (setenv "EnterpriseMenuFile" (strcat "c:\\acad\\ACAD-2012-LOCAL\\support\\SWD-Default.cuix")) (setenv "ACADDRV" (strcat "C:\\Program Files\\Autodesk\\AutoCAD 2012 - English\\drv")) (setenv "PlotLogPath" (strcat "C:\\ACAD\\"(getvar "loginname"))) (setenv "ActRecPath" (strcat "C:\\ACAD\\"(getvar "loginname"))) (setenv "LogFilePath" (strcat "C:\\ACAD\\"(getvar "loginname"))) (setenv "SaveFilePath" (strcat "C:\\ACAD\\"(getvar "loginname"))) I'm assuming this has something to do with local registry settings as most of the issues I encounter seem to end up that way.Īm I missing something here to keep seperate configs from being ignored? Cilents are fired from a /p shortcut switch to a different network location which loads the client arg. Just use the lisp above to set the path structure and save a ARG the one missing is the main custom menu I will try to find variable.īIGAL, using a combination of your information and some other advice on using the ACAD.lsp and ACADDOC.lsp I have got the support paths working as desired for my company standards, the problem I have now is these are also loading for my client configs.
You basicly need two things a ARG & a Cui they live together. (vla-put-TempXrefPath *files* "C:\\ACADTemp\\")Īll most forgot you can use profiles and have different icons on your desktop to to run different menus and setups. (vla-put-TemplateDwgPath *files* "P:\\Autodesk\\c3d Templates") (vla-put-TempFilePath *files* "C:\\ACADTemp\\") (setq paths (vla-get-SupportPath *files*)) (vla-put-QnewTemplateFile *files* "P:\\Autodesk\\c3d Templates\\cogg.dwt") (vla-put-PrintSpoolerPath *files* "C:\\ACADTemp\\") (vla-put-PrinterDescPath *files* "P:\\AutoDESK\\Plotting\\Drv") (vla-put-PrinterStyleSheetPath *files* "P:\\AutoDESK\\Plotting\\Plot Styles") (vla-put-PrinterConfigPath *files* "P:\\AutoDESK\\Plotting\\Plot Styles 2011")
(vla-put-AutoSavepath *files* "C:\\ACADTemp") the gets are their for info maybe other use
This sets a reference to the install path of your product