Photonics

Photonics

Topics related to Lumerical and more.

Set rotation axis for a structure group

    • minusunny
      Subscriber

      Hi, 

      I am trying to rotate in second axis y by 180 . How to write it as a script?

    • Amrita Pati
      Ansys Employee

      Hello,

      You can use the following lines of code:

      setnamed("out_wg_1","second axis","y");

      setnamed("out_wg_1","rotation 2",180);

       

       

      Regards,
      Amrita

Viewing 1 reply thread
  • The topic ‘Set rotation axis for a structure group’ is closed to new replies.