nicolas 发表于 2022-7-7 19:21:14

保存用户设置指南

你好
 
我想知道是否可以快速有效地将压缩后的指南保存在计算机中,以便在其他地方使用。
 
我的个人设置包括:
 
1、别名
2.cui中加载的autolisp
3.escape autolisp是右键单击上下文编辑菜单的一部分
4、重新安排快捷菜单(即添加尺寸线性、尺寸对齐、绘图)
5、带有新宏的新菜单
6、选项配置文件
7、打印样式
8、舱口
9、街区图书馆
10、调色板
11、工作空间
 
我知道列表很长,而且可能更长。大多数时候,当我从一台电脑切换到另一台电脑时,都会有相同的重复任务,比如复制、重置等等。有没有什么有效的方法可以同时使用我的所有设置转换autocad帖子,有效地保存所有设置、文件、块和模板,并将它们有效地加载到新的工作帖子上。
 
在某些地方,这看起来是不可能的,至少在总体上是不可能的,但谁知道这可能是可能的。
 
当做
 
尼古拉斯。

tzframpton 发表于 2022-7-7 19:37:12

哦,这不是不可能的,这是非常可能的,我的设置跨越了大约三台电脑。但是,您会丢失的一件事是指向工具选项板的目录路径。这就是一些手动编辑需要到位的地方,如果你不经常发现自己在计算机之间跳转,那也没关系。

BIGAL 发表于 2022-7-7 19:46:10

做一些家庭作业,阅读保存工作区和ARG文件和配置文件,(检查这里的帖子)你可以去任何我们有13+的计算机,通过网络加载一个ARG文件,它与其他电脑相同。有一些小的个人定制“让人们高兴”,所以我们把每个用户作为一个ARG,但从一个整体的公司设置开始。
 
随着20102即将加载,自动设置可以节省时间。通过lsp自动设置首选项和菜单,然后保存参数。
 
Stykface不确定如果使用ARG,为什么会丢失目录路径?
 
首选项的副本。lsp
; This sets a reference to the install path of your product
; the gets are their for info maybe other use
(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-CustomIcons *files*))
(vla-put-CustomIcons *files* "S:\\Autodesk\\ICONS")
; printers config
;(vla-get-PrinterConfigPath *files*)
(vla-put-PrinterConfigPath *files* "S:\\AutoDESK\\Plotting\\Plot Styles 2011")
; printer drv's
;(vla-get-PrinterDescPath *files*)
(vla-put-PrinterDescPath *files* "S:\\AutoDESK\\Plotting\\Drv")
; print spooler
;(vla-get-PrinterSpoolerPath *files*)
(vla-put-PrinterSpoolerPath *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\\")
; templatepath
;(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")

Grant 发表于 2022-7-7 19:49:35

您是否尝试过Autocad链接下“开始菜单”中的导出/导入设置

tzframpton 发表于 2022-7-7 20:00:27

对不起,应该更清楚一点。包含块的自定义工具选项板中保存的路径将丢失。

ReMark 发表于 2022-7-7 20:09:44

您对保存系统变量也感兴趣吗?

nicolas 发表于 2022-7-7 20:15:00

感谢大家提供的各种信息,我承认,我所知道的关于保存设置的内容与工作区基本相同,将所有autolisp保存在同一个目录中,即c:\autolisp,在我使用过的所有计算机上(只是为了方便检索),有时工作过,有时不工作。我将对所讨论的路径进行一些研究,并在不久的将来再次发布这些重要问题。再次感谢。

tzframpton 发表于 2022-7-7 20:28:07

我们是来帮忙的。有什么问题请回来。
页: [1]
查看完整版本: 保存用户设置指南