Use Case 1: Generate a Downstream Structure Based on the Part Attribute
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 to the associativity.properties.xconf file:
<AddToProperty name="com.ptc.windchill.associativity.reconciliation.addusage.wt.part.WTPart" value="transformoption=newPart"/>
<AddToProperty name="com.ptc.windchill.associativity.reconciliation.addusage.wt.part.WTPart" value="targetType=wt.part.WTPart"/>
<AddToProperty name="com.ptc.windchill.associativity.reconciliation.addusage.wt.part.WTPart" value="attributeMapping.rule1=Attribute1:String1:Attribute2:String2"/>
<AddToProperty name="com.ptc.windchill.associativity.reconciliation.addusage.wt.part.WTPart" value="attributeMapping.rule2=Attribute3:String3:Attribute4:String4"/>.
In case of properties that involve mapping, the mapping attributes specified for upstream and downstream must not be the same.
* 
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 the Windchill system detects a part with the part attribute Attribute1 set to String1, then the detected part is added in downstream, as a new part, under the part whose part attribute Attribute2 is set to String2 and part type is wt.part.WTPart.
If the Windchill system detects a part with the part attribute Attribute3 set to String3, then the detected part is added in the downstream, as a new part, under the part whose part attribute Attribute4 is set to String4 and part type is wt.part.WTPart.
3. Select the Upstream Parent Part (Design) and click in the middle pane tool bar.
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?