UG自动保存当前件配置指南.pdfVIP

  • 0
  • 0
  • 约1.29千字
  • 约 4页
  • 2026-02-06 发布于北京
  • 举报

如何自动保存UG当前件?

按照如下方法配置,可实现每隔一定时间自动保存UG当前件。适用于

UG18及以上版本。程序参见附件.

操作步骤:

1.将附件压缩包中的整个UGOpen文件夹解压到某路径下,例如:解压到D:\。

2.进入UGOpen\Startup目录,里面包含两个文件(AutoSave.dll、

AutoSaveDll.dll)

3.用文本编辑器打开$UGII_BASE_DIR\UGII\menus\下的custom_dirs.dat文

件,在文件末尾添加如下一行,指定Ufun程序存放路径,本例为:

D:\UGOpen

4.保存文件。

5.启动UG,ufun程序会自动启动,每隔一段时间自动保存UG当前件.

HowtoAutomaticallySavetheCurrent

UGWorkPart?

FollowthestepsbelowtoconfigureautomaticsavingofthecurrentUGworkpartatregular

intervals.ThismethodisapplicabletoUG18andlaterversions.Seetheattachedprogram.

Procedure:

.ExtracttheentireUGOpenfolderfromthecompressedpackagetoaspecifiedpath,forexample:

1

extracttoD:\.

2.NavietotheUGOpen\Startupdirectory,whichcontainstwofi(AutoSave.dll,

AutoSaveDll.dll).

3.Openthecustom_dirs.datfilelocatedin$UGII_BASE_DIR\UGII\menus\usingatexteditor,andaddthe

followinglineattheendofthefiletospecifythepathwheretheUfunprogramisstored.Inthisexa

mple,itis:

D:\UGOpen

4.Savethefileandexit.5.StartUG;theufunprogramwillautomaticallylaunchandsavethe

currentworkpartatregularintervals.

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档