Photonics

Photonics

Topics related to Lumerical and more

Png export script

    • SAURAV GAUTAM
      Subscriber

      I want to export electric field png image from monitor of around 100 simulation files.

      Is there any script to automate it?

       

      Thank you

    • Amrita Pati
      Ansys Employee

      Hi Saurav,

      You can use the exportfigure script command. You may specify the .png format as the full file name that you want it saved as. In the example link, .jpg is used but you can just replace that by .png. This can be done in a loop or the sweep utility depending upon how you are running these simulations. Please let me know if you have any further questions.

      Regards,
      Amrita

Viewing 1 reply thread
  • The topic ‘Png export script’ is closed to new replies.