How do I assign material to a part in ST7 - MP2 ?
The code I did use up to ST7 - MP1 is not working anymore:
'objApp already connected to a running Solid Edge with a part loaded
'cMateriale.Text is a valid string
Dim objMatTable As MatTable Set objMatTable = objApp.GetMaterialTable objMatTable.SetActiveDocument objApp.ActiveDocument objMatTable.ApplyMaterial objApp.ActiveDocument, cMateriale.Text
Solved! Go to Solution.
The "ApplyMaterialToDoc" method is working so I changed my code to use it.
Still a bug to deal with in my opinion.