Fatemeh Karami
Bbp_participant
Thank you very much for your response.
 
When I tried to write this command 's=getresult("user s matrix");' in a Python script in Lumerical, I faced the error '"name getresult is not defined." Additionally, I wanted to import my material file in a Python script using 'importmaterialdb("file name.mdf")', but I received the error that it's not a valid command in Python.
 
Also, I have another question. Should I use an 'if'  or a 'for' loop for optimizing my structure using inverse design by the EME module?
 
I would appreciate if you could help me with these issues.