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.

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.