Ansys Learning Forum Forums Discuss Simulation Photonics Set rotation axis for a structure group Reply To: Set rotation axis for a structure group

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