安装可配置链接示例
请按照以下步骤,安装可配置链接示例:
1. 打开 Windchill shell。
2. 输入下面的命令:
xconfmanager -i
<Windchill>/codebase/com/ptc/windchill/enterprise/ConfigurableLinkExamples.xconf -p
3. 要在 Windchill 中显示示例“可配置链接”表格,请按如下所示,设置各个可配置链接类型的特性的值。
com.ptc.windchill.enterprise.part.showReferenceLinksTable=ALL
com.ptc.windchill.enterprise.part.showDescribeLinksTable=ALL
com.ptc.windchill.enterprise.part.showRevisionLinksTable=ALL
com.ptc.windchill.enterprise.part.showMasterLinksTable=ALL
* 
也可以通过分别使用 PARENT 或 CHILD 值而不是 ALL,将上述各个特性设置为仅显示父项表格或子项表格。
有关在 PSB 中显示“可配置链接”选项卡和控制“可配置链接”表格基于特性的显示的详情,请参阅将“可配置链接”设为在 PSB 中可用
4. 重新启动方法服务器。
5. 加载以下加载文件:
windchill wt.load.LoadFromFile -d
<Windchill>/loadFiles/configurableLinks/ConfigurableLinkExamples.xml
* 
actionmodels.xml 文件将信息页面上的“自定义”菜单改写为末端的“可配置链接示例”菜单。如果已自定义三级导航菜单,则这些列表必须匹配,否则您的自定义将被改写。或者,可以将可配置链接的三级导航添加到信息页面的操作条目中。
卸载可配置链接示例
请按照以下步骤,卸载可配置链接示例。此过程包括手动编辑在安装示例时所加载的文件。
1. 打开 <Windchill>\declarations.xconf 文件。
2. 移除包含下列字符串的条目:"ConfigurableLinkExamples.xconf"
3. 保存并关闭 <Windchill>\declarations.xconf 文件。
4. 打开 <Windchill>\codebase\wt.properties 文件。
5. 从该文件中移除以下条目:
config/actions/ConfigurableLinkExamples-actions.xml
config/actions/ConfigurableLinkExamples-actionmodels.xml
6. 保存并关闭 <Windchill>\codebase\wt.properties 文件。
7. 重新启动方法服务器。
至此,示例即卸载完毕,且三级导航“可配置链接示例”将不再显示。
这对您有帮助吗?