Guilin Sun
Ansys Employee

Please refer to this page  https://optics.ansys.com/hc/en-us/articles/360024974033

You might be able to run the script file without GUI but with the GUI license available. Please try.