Files
ResLib/部署指南_V1.2.txt
T
2026-08-10 23:13:58 +08:00

100 lines
3.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
======================================================================
资源中心管理器 V1.2 — 部署指南
Creo 7.0 / 8.0 / 9.0 / 10.0 (64位) | 2026-07-29
======================================================================
一、环境要求
--------------------------------------------------
1. Windows 10/11 64位
2. Creo Parametric 7.0+ (64位)
3. Visual C++ 2022 运行库
二、部署文件清单
--------------------------------------------------
D:\ResLib\
├── Res_center_80.dll ← 核心 DLL(必须)
├── protk.dat ← Creo 插件注册文件(必须)
├── ucore68.dll ← Creo 运行时依赖(必须)
├── udata68.dll ← Creo 运行时依赖(必须)
├── folder.ico ← 图标
├── configen.exe ← protk.dat 自动配置器
├── config\ ← 配置文件(自动生成)
│ └── lic\
│ └── res_center.lic ← 授权文件(必须,见第五节)
├── text\ ← 本地化资源(必须)
│ └── usascii\
│ └── folder.gif
└── Resource_Library\ ← ★ 标准件库(核心数据)
三、部署步骤
--------------------------------------------------
【步骤 1】复制文件
将部署文件夹复制到目标电脑(如 D:\ResLib)
路径不要有中文或空格
【步骤 2】生成 protk.dat
双击 configen.exe → 点击 "GENERATE protk.dat"
自动检测当前路径并生成正确配置
【步骤 3】注册到 Creo
在 config.pro 中添加一行:
protkdat D:\ResLib\protk.dat
config.pro 位置:
C:\Users\<用户名>\AppData\Roaming\PTC\ProENGINEER\Wildfire\.wf\.Creo\
【步骤 4】配置授权
将获得的 res_center.lic 放入 config\lic\ 目录
不可则"插入装配"按钮不显示,其他功能不受影响
【步骤 5】验证
启动 Creo → 出现"资源中心"按钮 → 打开对话框 → 选零件 → 3D 预览 → 插入装配
四、可用命令
--------------------------------------------------
资源中心 → 选零件 → "插入装配"
资源中心(参数定位) → 选零件 → 参数窗口(X/Y/Z/RX/RY/RZ) → 精确装配
五、LIC 授权文件
--------------------------------------------------
位置:config\lic\res_center.lic
生成方式:运行 tools\keygen_lic.exe,输入 MAC 地址,点击 Generate
将生成的 res_center.lic 复制到 config\lic\ 目录
授权规则:
MAC 地址 → 去除横线/空格 → A=01 B=02 ... Z=26 → 数字串倒序 → lic 内容
六、环境变量(可选)
--------------------------------------------------
RES_CENTER_DIR = D:\ResLib
未设置时自动使用 DLL 所在目录
七、常见问题
--------------------------------------------------
Q1: 启动提示"无法加载辅助应用程序"
A1: 检查 protk.dat 路径和 REVISION=36,或用 configen.exe 重新生成
Q2: 点击按钮无反应
A2: 确保 ucore68.dll、udata68.dll 与 DLL 同目录
Q3: 3D 预览空白
A3: 显卡需支持 OpenGL(Windows 自带即可)
Q4: "插入装配"按钮不显示
A4: 检查 config\lic\res_center.lic 是否存在且内容正确
Q5: 如何更新标准件库
A5: 直接在 Resource_Library 下增删 .prt/.asm 或目录,无需维护 .mnu
八、版本信息
--------------------------------------------------
版本:V1.2 | DLL:Res_center_80.dll | 兼容:Creo 7.0~10.0