Fonctionnalités supplémentaires de Windchill > Gestion des processus de fabrication > Personnalisation de l'Explorateur de structures produit de fabrication > Mise à jour des attributs de sous-type
  
Mise à jour des attributs de sous-type
Si un sous-type a été créé pour un article en amont, l'Explorateur de structures produit de fabrication ne met pas automatiquement à jour les articles en aval associés avec les modifications apportées au sous-type dans l'article en amont. Pour vous assurer que les modifications de sous-type sont propagées aux articles en aval, procédez comme suit :
1. Accédez aux propriétés suivantes :
com.ptc.windchill.mpml.copyOver.create.wt.part.WTPart
com.ptc.windchill.mpml.copyOver.update.wt.part.WTPart
2. Ajoutez le nom de sous-type à chacune de ces propriétés. Par exemple, si <SUBTYPE_ATTRIBUTE> est le nom du sous-type créé pour l'article en amont :
<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. Exécutez xconfmanager -p
Bonnes pratiques en matière de mise à jour des attributs et associations d'article
Le fichier ci-après est disponible même lorsque Windchill MPMLink n'est pas installé :
Windchill\codebase\com\ptc\core\foundation\associativity\xconfs\associativity.properties.xconf
Ce fichier est utilisé par d'autres modules, tels que Servigistics Arbortext, qui peuvent comporter des fonctionnalités de transformation.
Le fichier ci-après est disponible lorsque Windchill MPMLink est installé :
Windchill\codebase\com\ptc\windchill\mpml\xconfs\mpmlink.properties.xconf
Lorsque vous exécutez des actions de transformation propres à Windchill MPMLink, les paramètres définis par ce fichier prévalent sur tous les autres paramètres en double éventuellement trouvés dans d'autres fichiers xconf, tels que ceux utilisés par Servigistics Arbortext. Lorsque vous modifiez l'un de ces fichiers, il est donc recommandé de modifier également l'autre fichier afin de maintenir la cohérence dans l'ensemble des actions de transformation.