Hello! I want to design the grating in lumerial and import it into ZEMAX to design and optimize the diffractive optical waveguide. I recently saw some articles and videos about lumerial and ZEMAX. So far, I have learned about and learned an example of a metalens. In that example, lumericall fdtd/rcwa exported a file in ZBF format to ZEMAX. However, the method of that example does not seem to be applicable to the analysis of gratings in diffractive optical waveguide systems.
I saw in other videos that the grating designed in FDTD can be exported to JSON format file, and then imported using the DLL of diffraction grating in ZEMAX. I want to know how to export files in this format in FDTD? What data need to be exported? Are there any examples of lumerial scripts? Because I only saw the demo in the video and didn't find other materials. (I know that ZEMAX is still developing the dynamic link function, but I don't need this function yet).
Below are links to related videos
https://v.ansys.com.cn/play/ePUnlH67
https://v.ansys.com.cn/play/MRbXiOc0
Thank you!