Reference:
Set MatSel = Synergy.MaterialSelector()
MatSel.Select
The personal material data is getting an ID, material index, but how and when it is assigned the ID is not clear or documented.
Hence no other way, then what is described in Synergy API Reference:
"material index in the database that uniquely identifies this material;
the easiest way to ascertain the material index is to record a macro that selects the material from the database".
This is a tedious and extensive work when many materials.
Or changes, not sure of how ID is set.
Would be good to have a function in Moldflow API to easier get this material index.
A more automated way, then record a macro that selects the material from the database for each material.
See also topic in forum: How to know material ID in user material database
Regards,
Berndt