在MAC上可能有几种方法?在Pc上,我们复制并更改autocad桌面图标,以在启动autocad时识别另一个配置文件,其/p>位已更改/p C3D2013。在windows中,右键单击图标,然后编辑属性“目标”
你所要做的就是设置所有路径等,然后保存一个配置文件。这里重要的一部分是将你的主自定义菜单设置到其他地方,在我们的例子中是它的\用户\用户ID。
将新的ARG文件和CUI复制到您已访问的新目录。
重要信息:正常启动Autocad加载新配置文件使其可用使其成为当前配置文件,然后使用新图标退出Autocad。它应完全加载(我们有8台电脑)在出现故障时将旧图标删除到目录中。
这是一个扩展版本,用于设置配置文件中的大部分内容
- ; resets the paths usefull for update versions of Autocad
- ; by BIGAL 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\\BIGAL")
- ; 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\\my.dwt")
- ;make new support paths exist + new
- (setq paths (vla-get-SupportPath *files*))
- (setq coggpaths
- "P:\\autodesk\\supportfiles;
- P:\\autodesk\\lisp;
- P:\\autodesk\\fonts;
- P:\\autodesk\\hfs fonts;"
- )
- (setq newpath (strcat coggpaths paths))
- (vla-put-SupportPath *files* newpath)
- ; Tempdirectory
- ;(vla-get-TempFilePath *files*))
- (vla-put-TempFilePath *files* "C:\\AcadTemp\")
- ; PlotLogFilePath = "C:\\Documents and Settings\\AD\\local
- settings\\application data\\autodesk\\c3d 2011\\enu\"
- (vla-put-PlotLogFilePath *files* "C:\\AcadTemp\")
- ; LogFilePath = "C:\\Documents and Settings\\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")
|