Photonics

Photonics

How to automate removing waveguides from structure groups

    • Kent Emmanuel Soria
      Subscriber

      Dear Ansys Lumerical,

      I would like to ask what code would allow me to break groups without having to manually press the break groups everytime. Please I need help or guidance on how we could put this in code. There is addgroup and addtogroup script in Lumerical, what is a way to break groups using code rather than manually pressing it every time?

      Sincerely,

       

      Kent Emmanuel Soria

       

       

    • Amrita Pati
      Ansys Employee

      Hi Kent,


      I didn't find a command to do this directly. Althought you can try the following code to acheive this indirectly:

      groupscope("structure group");
      selectall;
      addtogroup("::model");
      groupscope("::model");

      Regards,
      Amrita

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