Use Case 11: Generate a Downstream Structure for Entities That Have Same Value
Consider that the following structure is present in the BOM Transformer:
An equivalent link exists between the Upstream Parent Part (Design) and Downstream Parent Part (Manufacturing).
All the parts in the structure have the part type as wt.part.WTPart.
1. Access the associativity.properties.xconf file located in Windchill/codebase/com/ptc/core/foundation/associativity.
2. Add the following restructuring rules:
<Property name="com.ptc.windchill.associativity.reconciliation.addusage.wt.part.WTPart" multivalued="," default=""/>
<AddToProperty name="com.ptc.windchill.associativity.reconciliation.addusage.wt.part.WTPart" value="transformoption=newBranch"/>
<AddToProperty name="com.ptc.windchill.associativity.reconciliation.addusage.wt.part.WTPart" value="targetType=wt.part.WTPart"/>
If there is need to match same value, provide attribute name separated by colon.
<AddToProperty name="com.ptc.windchill.associativity.reconciliation.addusage.wt.part.WTPart" value="attributeMapping.rule1=AttributeNum1:AttributeNum1"/>.
<AddToProperty name="com.ptc.windchill.associativity.reconciliation.addusage.wt.part.WTPart" value="attributeMapping.rule2=AttributeNum2:AttributeNum2"/>.
* 
After you initiate the action on the selected part in the upstream, the Windchill system traverses the structure below the selected part. This configuration ensures that :
If any part with a value for AttributeNum1 matches with the downstream target part with the same value for AttributeNum1, then the upstream part will be added as a new branch under the target matched downstream part.
If any part with a value for AttributeNum2 matches with the downstream target part with the same value for AttributeNum2, then the upstream part will be added as a new branch under the target matched downstream part.
3. Select the Upstream Parent Part (Design) and click in the middle pane toolbar.
4. The following structure appears in the BOM Transformer:
* 
Based on the criteria specified in the properties, Part C1 (Manufacturing) and Part C2 (Manufacturing) are added as new parts under Part T1 (Manufacturing) and Part T2 (Manufacturing), respectively.
¿Fue esto útil?