Hello,
I was trying to set the material model properties through Python API but it did not work. The result I get is implementation of material model to my Zemax modelm but with the refractive index of 0. Could you help me with this?
Thank you in advance!
The code I use is visible below:
materialModel = surface.MaterialCell.CreateSolveType(ZOSAPI.Editors.SolveType.MaterialModel)
materialModel.IndexNd = 1.33
materialModel.AbbeVd = 5
surface.MaterialCell.SetSolveData(materialModel)
Best wishes,
Fabian