Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Photonics

Photonics

Topics related to Lumerical and more.

How to select the options of a dropdrown menu with lumerical scipt?

    • somnath.paul
      Subscriber

      For example I can select the "set simulation bandwidth" option using the set("set simulation bandwidth":true); command but the same logic is not working if I try to set the option of the following dropdown menu --> wavelength and center/span and then set the corresponding values. 

      Can anyone suggest the script to toggle the dropdown options and set the values of them?

       

    • Dev
      Ansys Employee

      Hello, You can use this script (here I am setting wavelength from 1500-1600nm):

      set('set simulation bandwidth',true);
      set('simulation wavelength min',1.5e-6);
      set('simulation wavelength max',1.6e-6);

      Thanks 

      Devika

Viewing 1 reply thread
  • The topic ‘How to select the options of a dropdrown menu with lumerical scipt?’ is closed to new replies.
[bingo_chatbox]