alijahed 发表于 2022-7-6 23:53:10

自定义AutoCAD 2014和

大家好,
 
我想在CAD用户的桌面上放置一个exe文件,这样当用户执行该文件时,它会以我想要的方式自动设置他/她的AutoCAD。
 
我试图在网上找到答案,但没有成功。
我找到了“Inno安装和AcadInstall”,但找不到任何进一步的细节,比如教程和从安全的地方下载软件。我还注意到这些线程像2005年一样旧。
 
谁能帮我一下吗?
 
干杯
 
阿里

ReMark 发表于 2022-7-7 00:02:11

通过企业进行定制不是更好吗。只读且用户无法修改的cuix?

alijahed 发表于 2022-7-7 00:10:50

嘿伙计,
 
你怎么样?
伙计,我想做以下几件事:
 
1.在桌面上创建另一个AutoCAD快捷方式。因此,用户可以拥有自己的界面和我开发的界面。
 
2.在“工具”>“选项”>“文件”中,将以下地址更改为“我的服务器”或“URL地址”:
自定义文件
主自定义文件
C: \Users\cplus\appdata\roaming\autodesk\autocad 2014\r19.1\chs\support\acad
企业自定义文件
.
自定义图标位置
C: \Users\cplus\appdata\roaming\autodesk\autocad 2014\r19.1\chs\support\icons
 
打印机支持文件路径
后台打印程序文件位置
C: \用户\cplus\appdata\local\temp\
打印机配置搜索路径
C: \Users\cplus\appdata\roaming\autodesk\autocad 2014\r19.1\chs\绘图仪
 
打印机描述文件搜索路径
C: \Users\cplus\appdata\roaming\autodesk\autocad 2014\r19.1\chs\plotters\pmp文件
打印样式表搜索路径
C: \Users\cplus\appdata\roaming\autodesk\autocad 2014\r19.1\chs\plotters\plot styles
 
模板设置
图形模板文件位置
C: \Users\cplus\appdata\local\autodesk\autocad 2014\r19.1\chs\template
 
工具选项板文件位置
C: \Users\cplus\AppData\Roaming\Autodesk\AutoCAD 2014\R19.1\chs\support\ToolPalette
 
动作记录设置
操作记录文件位置
C: \Users\cplus\appdata\roaming\autodesk\autocad 2014\r19.1\chs\support\actions
 
3.从特定位置的url或服务器将Lisp文件复制到硬盘上
 
4.将Lisp例程添加到启动中
 
5、打开我的模板
 
6、添加我的工具栏
 
目前,我不得不跳上他们的电脑去做所有这些我想避免的改变。
 
干杯
 
阿里

Pablo Ferral 发表于 2022-7-7 00:16:26

尝试改用Lisp。这里有几个例子。。。
http://forums.augi.com/showthread.php?56760-设置搜索路径文件名和文件位置的例程
http://www.augi.com/library/managing-customization-files

BIGAL 发表于 2022-7-7 00:23:50

这里有一个lisp用于设置所有路径,但更好的方法是从配置文件创建ARG。
 
快速回答将ARG复制到新电脑,使新图标指向此ARG,启动默认AutoCAD图标加载ARG,然后关闭。将自定义菜单复制到“主自定义菜单”路径设置中的位置,启动新图标
 
应该有用!12台电脑是这样做的
 
; resets the paths usefull for update versions of Autocad
; by BGAL 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\\")
; templatepath
;(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\\")

(vla-put-PlotLogFilePath *files* "C:\\AcadTemp\\")

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

feargt 发表于 2022-7-7 00:29:28

 
更快的方法是将arg文件放到网络上,并创建一个带有指向它的开关的桌面图标。i、 e./p“\\.\.\.\.\myprofile.arg”

alijahed 发表于 2022-7-7 00:38:56

谢谢你们的回复。
 
但我仍然非常好奇如何制作exe文件。
有人能帮我吗?

NewVillage 发表于 2022-7-7 00:41:27

Autohotkey或AutoIT

ReMark 发表于 2022-7-7 00:47:49

 
如果这应该是一个答案,也许更多的细节会有所帮助。一个简短的解释,也许是一个链接到适当的网站?

NewVillage 发表于 2022-7-7 00:58:58

您的原始回复:
对于AutoIT,制作一个脚本。使用其Send命令模拟对活动窗口的按键。当一切正常时,做一个。脚本的exe。
页: [1]
查看完整版本: 自定义AutoCAD 2014和