Guilin Sun
Ansys Employee

Sorry to reply you late as something happend.

When the material has complex refractive index or permittivity, please directly use the complex data.

Please refer to this example: https://optics.ansys.com/hc/en-us/articles/360034409654-setmaterial-Script-command