Automatic Part Numbering - Upgrade Considerations
On any system upgraded to Windchill release 9.x or any new installation where part Object Initialization Rules are customized, the following must be considered.
Variant Part Creation fails when Part automatic numbering is turned off; Part Object Initialization Rules are customized to turn off automatic numbering. This results in the failure of VariantPart creation (Request Deliverables action on VariantSpecifications).
Variants are auto generated by the system and automatic numbering cannot be turned off for the variant parts. If you need to turn off automatic numbering for parts other than variants, the following code sample shows how to modify the Part Object Initialization Rules xml file for the "number" attribute.
<AttrValue id="number"
algorithm="wt.rule.algorithm.BooleanBranch">
<Value algorithm="wt.rule.algorithm.EqualsTest">
<Attr id="genericType"/>
這是否有幫助?