Lito Yap
Ansys Employee

@martin, 

Please try the latest release, Lumerical 2022 R2.1. Otherwise, should the issue persist with PyCharm and Lumerical 2022R2.1, run the API script directly from terminal. >>>https://optics.ansys.com/hc/en-us/articles/5771091294739