Do the solidworks API functions work in student version?

I do some color changes to my models as part of preprocessing. This process frequently fails on parts that have been modeled using the student edition of SW. By fail, I mean that the color is either not being set or if it is set, it does not get visually updated. 

The functions I use are: Component2->GetMaterialPropertyValues() and Component2->SetMaterialPropertyValues2()

Comments 1
JB
JB 2021-06-17

If I remember right, those values get overridden if there is any Appearance applied to the model.  You'll have to delete any appearances before you see the MaterialPropertyValues colors.