Guilin Sun
Ansys Employee

stackfields can give you E and H fields: https://optics.ansys.com/hc/en-us/articles/360034406294 Later we may add more features such as absorption at each layer. Please vote here https://ix.lumerical.com/ideas/LUM-I-1344

I have not found examples using script to set the STACK in GUI. you already know the material properties and the position of each layer before the simulation since this is what you set. Unlike FDTD, it uses analytical solution so it does not have mesh for the calculation, except for output purpose.