Updating Subtype Attributes
If a subtype has been created for an upstream part, the BOM Transformer does not automatically update any associated downstream parts with any changes made to the subtype in the upstream part. To ensure that subtype changes are propagated to downstream parts use the following procedure:
1. Navigate to the following properties:
com.ptc.windchill.mpml.copyOver.create.wt.part.WTPart
com.ptc.windchill.mpml.copyOver.update.wt.part.WTPart
2. Add the subtype name to each of these properties. For example, where <SUBTYPE_ATTRIBUTE> is the name of the subtype created for the upstream part:
<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. Run xconfmanager -p
Updating Part Attributes and Associations — Best Practice
The following file is available even when Windchill MPMLink is not installed:
Windchill\codebase\com\ptc\core\foundation\associativity\xconfs\associativity.properties.xconf
This file is used by other modules, such as Arbortext, that may have transformation capabilities.
The following file is available when Windchill MPMLink is installed:
Windchill\codebase\com\ptc\windchill\mpml\xconfs\mpmlink.properties.xconf
When performing transformation actions specific to Windchill MPMLink the settings defined by this file take precedence over any other duplicate settings that may be found in other xconf files, such as the those used by Arbortext. It is recommended that when modifying either of these files the other file also be modified to maintain consistency across all transformation actions.
Isto foi útil?