We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Photonics

Photonics

Topics related to Lumerical and more.

GDS_auto_export_test

    • zouxie
      Subscriber

      I refer to the example on the official website and use the 2023 version of FDTD here, but almost every line of the script shows a syntax error.What's the reason for this?

       

    • Amrita Pati
      Ansys Employee

      Hi Xie,

      In Line 6, there is no semi-colon (;) at the end of the line.

      Regards,
      Amrita

      • zouxie
        Subscriber

        Thanks for your reply. However, I am also having the following trouble. My klayout version is 0.26.Please help.

         

    • Amrita Pati
      Ansys Employee

      Hi Xie,

      Before you run the script, make sure that all other files in the zipped folder (downloaded from the article) are in the same location.

      Regards,
      Amrita

    • zouxie
      Subscriber

      Hi Amrita,

      Thanks again for your reply. Following your suggestion, I checked the location of the files and they are in one. But the problem is still not solved. Once again, I am asking for your help. Thanks.

       

    • Amrita Pati
      Ansys Employee

      Hi Xie,

      This is a bit strange. The same scripts are working for me. I have downloaded and tested since you started having the problem. From your screenshot I can tell that the required files:

      Lumerical_GDS_autoexp_functions;

      Lumerical_GDS_autoexp; are in the same directory.

      Also, can you uncomment Line 74? We need Line 74 to be able to run the script successfully? Or is it also throwing the same error?

       

      Regards,
      Amrita

    • zouxie
      Subscriber

      Hi Amrita,

      I tried to uncomment line 74 and it still shows the same error.

      And, I also tried another computer, unfortunately, with the same above problem.

       

    • Amrita Pati
      Ansys Employee

      Hi Xie,

      Sorry this took me a while to figure out. Line 75 is incorrectly spelt. If you look at the folder, the name of the lsfx file is "Lumerical_GDS_autoexp".

      So line 75 should be changed to:

      Lumerical_GDS_autoexp;   

       

      Currently it is Lumerical_GDS_autoexport. And please keep Line 74 uncommented. Let me know what happens then.

       

      Regards,
      Amrita

    • zouxie
      Subscriber

      Hi Amrita,

      Following your latest advice, all my problems have been solved, thanks for your patience in replying over such a long time. Good luck.

Viewing 7 reply threads
  • The topic ‘GDS_auto_export_test’ is closed to new replies.