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.

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

nina.megier
Subscriber

I have solved the issue, one should use

fdtd.set('mode selection','user select')
fdtd.set("selected mode numbers",np.array([1,2]))