@fgomez, It is possible to do so. However, if you want to do the whole process by using script, you will still have to use the command lines to open up and close the project files. Presumably you have the following 4 files in the same directory and already navigated to this directory, then type in the following command lines in the prompt window: waveguide_mode.lms (233.0 KB) waveguide_mode.lsf (302 Bytes) waveguide_interconnect.icp (96.3 KB) waveguide_interconnect.lsf (319 Bytes)
“C:\Program Files\Lumerical\MODE\bin\mode-solutions.exe” waveguide_mode.lms -run waveguide_mode.lsf
"C:\Program Files\Lumerical\INTERCONNECT\bin\interconnect.exe" waveguide_interconnect.icp -run waveguide_interconnect.lsf
The first command line will open up MODE Solutions and run the script file “waveguide_mode.lsf”. In this script file, the mode profile of the waveguide is saved to a Lumerical data file “wgd.ldf” to the same directory.
Then the second command line will open up INTERCONNECT and run the script file “waveguide_interconnect.lsf”. In this script file, the wgd.ldf file is imported to the MODE Waveguide element.
Some useful script commands used in the script files: