其他 Windchill 功能 > 制造过程管理 > 自定义制造产品结构浏览器 > 更新子类型属性
  
更新子类型属性
如果已为上游部件创建子类型,则“制造产品结构浏览器”不会使用对上游部件中子类型所做的任何更改自动更新任何关联的下游部件。为确保将子类型更改传播到下游部件,请按以下步骤操作:
1. 导航到以下属性:
com.ptc.windchill.mpml.copyOver.create.wt.part.WTPart
com.ptc.windchill.mpml.copyOver.update.wt.part.WTPart
2. 将子类型名称添加到其中一个属性。例如,其中 <SUBTYPE_ATTRIBUTE> 是为上游部件创建的子类型的名称。
<Property name="com.ptc.windchill.mpml.copyOver.create.wt.part.WTPart" default="WCTYPE|wt.part.WTPart~MBA|source,WCTYPE|wt.part.WTPart~MBA|contextReference^WCTYPE|wt.inf.context.WTcontext,WCTYPE|wt.part.WTPart~MBA|partType,WCTYPE|wt.part.WTPart~MBA|describedBy@WCTYPE|wt.epm.structure.EPMDescribeLink,WCTYPE|wt.part.WTPart~MBA|describedBy@WCTYPE|wt.part.WTPartDescribeLink,WCTYPE|wt.part.WTPart~MBA|buildTarget@WCTYPE|wt.epm.build.EPMBuildRule,WCTYPE|wt.part.WTPart~MBA|references@WCTYPE|wt.part.WTPartReferenceLink,WCTYPE|wt.part.WTPart~SCA|ALL_CLASSIFICATION_IBAS,WCTYPE|wt.part.WTPart~IBA|<SOFT_TYPE_ATTRIBUTE>"/>
<Property name="com.ptc.windchill.mpml.copyOver.update.wt.part.WTPart" default="WCTYPE|wt.part.WTPart~MBA|source,WCTYPE|wt.part.WTPart~MBA|contextReference^WCTYPE|wt.inf.context.WTcontext,WCTYPE|wt.part.WTPart~MBA|partType,WCTYPE|wt.part.WTPart~MBA|describedBy@WCTYPE|wt.epm.structure.EPMDescribeLink,WCTYPE|wt.part.WTPart~MBA|describedBy@WCTYPE|wt.part.WTPartDescribeLink,WCTYPE|wt.part.WTPart~MBA|buildTarget@WCTYPE|wt.epm.build.EPMBuildRule,WCTYPE|wt.part.WTPart~MBA|references@WCTYPE|wt.part.WTPartReferenceLink,WCTYPE|wt.part.WTPart~SCA|ALL_CLASSIFICATION_IBAS,WCTYPE|wt.part.WTPart~MBA|choice@WCTYPE|com.ptc.windchill.option.model.ChoiceMappableChoiceLink,WCTYPE|wt.part.WTPart~IBA|<GLOBAL_ATTRIBUTE>"/>
3. 运行 xconfmanager -p
更新部件属性和关联 - 最佳做法
即使未安装 Windchill MPMLink,也可以使用以下文件:
Windchill\codebase\com\ptc\core\foundation\associativity\xconfs\associativity.properties.xconf
此文件供可能具有变换功能的其他模块 (如 Arbortext) 使用。
如果安装 Windchill MPMLink,则可以使用以下文件:
Windchill\codebase\com\ptc\windchill\mpml\xconfs\mpmlink.properties.xconf
执行特定于 Windchill MPMLink 的变换操作时,在此文件定义的设置优先于可能在 xconf 文件中找到的任何其他重复设置,例如 Arbortext 使用的那些设置。建议在修改这两个文件中的任何一个文件时,同时修改另一个文件,从而在所有变换操作中保持一致性。