Optical

Optical

Python script problem

    • David trop
      Subscriber

      I builed some structure and then I entered
      mode.run()

      mode.mesh()

      mode.findmodes()

      (mode is the name like mode = lumapi.MODE)

      and its not working ' like no calculation of the modes appear

      some ideas why such thing can happend?

      Tnx

    • Guilin Sun
      Ansys Employee

      Please try some code in this article:
      https://optics.ansys.com/hc/en-us/articles/360041873053-Session-management-Python-API

       

      Try one at the time and find which line does not work.

       

      In addition, I personally suggest to use the software built-in Python version so it can work seamlessly.

       

Viewing 1 reply thread
  • You must be logged in to reply to this topic.