Ansys Learning Forum Forums Discuss Simulation Photonics script command for opening Material Explorer Reply To: script command for opening Material Explorer

Dimitris Polyzos
Ansys Employee

Hello Joseph, 

I am not sure that there is a specific script command that access directly through Check>Material. However you can use these commands to manipulate a material:

Then you can use the following commands such as:  ?setmaterial("SiO2 (Glass) - Palik"); and adjust them accordinlgy to the best fit for your material.

?setmaterial("SiO2 (Glass) - Palik");
name
mesh order
color
anisotropy
type
tolerance
max coefficients
make fit passive
improve numerical stability
imaginary weight
specify fit range
wavelength min
wavelength max
frequency min
frequency max
sampled 3d data

At last, an alternative it would be to fit your material data in a different tool, such as matlab, and import the fitting data in Lumerical's material base.

I hope I helped.

Kind regards

Dimitris