10.Windchill -- 客制化生命周期状态和角色
生活随笔
收集整理的這篇文章主要介紹了
10.Windchill -- 客制化生命周期状态和角色
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
一、客制化生命周期狀態
D:\ptc\Windchill_11.0\Windchill\wtCustom\wt\lifecycle
(1)StateRB.rbInfo
ResourceInfo.class=wt.tools.resource.EnumResourceInfo ResourceInfo.customizable=true ResourceInfo.deprecated=falseCHECKING.value=Checking CHECKING.shortDescription=Checking state(2)StateRB_zh_CN.rbInfo
ResourceInfo.class=wt.tools.resource.EnumResourceInfo ResourceInfo.customizable=true ResourceInfo.deprecated=falseCHECKING.value=正在自檢 CHECKING.shortDescription=正在自檢狀態注意:如果新建的生命周期狀態顯示亂碼,該中文國際化配置文件需要設置編碼格式為 UTF-8-BOM
可以使用 Notepad++ 打開 StateRB_zh_CN.rbInfo 文件,然后設置編碼格式,如下圖所示
(3)系統的生命周期狀態文件的路徑為:
D:\ptc\Windchill_11.0\Windchill\src\wt\lifecycle
二、客制化角色
(1)RoleRB.rbInfo
注意:order 不能和之前定義的角色的 order 重復,可以查看 D:\ptc\Windchill_11.0\Windchill\src\wt\project 目錄下的 RoleRB.rbInfo 文件,移到最下面看看最新添加的角色的 order 值
(2)RoleRB_zh_CN.rbInfo
ResourceInfo.class=wt.tools.resource.EnumResourceInfo ResourceInfo.customizable=true ResourceInfo.deprecated=falseR&D.value=研發代表 R&D.shortDescription=研發代表 R&D.order=2620TEST.value=測試代表 TEST.shortDescription=測試代表 TEST.order=2630PDTL.value=PDTL PDTL.shortDescription=PDTL PDTL.order=2640同樣的,如果新建的角色顯示亂碼,該中文國際化配置文件需要設置編碼格式為 UTF-8-BOM
在 Windchill 系統命令行窗口執行如下兩條命令
resourcebuild wt.project.RoleRB true
ant -f codebase/MakeJar.xml
重啟 Windchill 系統
總結
以上是生活随笔為你收集整理的10.Windchill -- 客制化生命周期状态和角色的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 报错解决:Unable to find
- 下一篇: vue框架如何转换成普通html,htm