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.

Ansys Learning Forum Forums Discuss Simulation Photonics set modes in python Reply To: set modes in python

Dev
Ansys Employee

Hello Nina, thanks for the update.

We cab also use:
fdtd.updateportmodes(np.array([1,2]))

https://optics.ansys.com/hc/en-us/articles/360034409174
https://optics.ansys.com/hc/en-us/articles/360043683873-lumapi-getv-Python-API-method

[bingo_chatbox]