Custom Material name is not updating when assigned using IMM
1. Launch NX from Teamcenter and open a part file.
2. From IMM tab, click on Integrated Material Management icon and launch the Assign Material Dialog box.
3. From the Assign Material Dialog, search for the material and select any material from search result.
4. Click on Apply and save the part file.
5. Now check the Custom Material Property value using File -> Properties
6. The Custom Material attribute does not show the assigned material name as value. The value remains empty
Custom Material Name attribute value is getting updated with second save operation.
SolutionCase 1. If you create a new part, add geometry, assign IMM material and save. Custom Material gets updated.
Case 2. If you open existing part, assign IMM Material and save. Custom Material doesn’t update.
The behaviour in Case1 is because for NX to attempt synchronizing the properties, there needs to be a trigger for SOA: resolveAttrMappingsForNX() to happen.
In Case 2, There is no change in any of the mapped attributes therefore NX does not perform SOA: resolveAttrMappingsForNX(), andit does not get the newly assigned value from the IMM material.
This works correctly for all the attributes, but IMM sets the values in a very special way, and that is why NX is seeing such behavior.
This behavior is working as Designed and it is done for Performance Reasons.