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 automatic numbering for the part is turned off; Part Object Initialization Rules are customized to turn off automatic numbering. This results in the failure of variant part creation even when using the Request Deliverables action on the information page of the variant specification.
When variants are auto-generated by the system, 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 sample code 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"/>
¿Fue esto útil?