Hi Raphael,
I’ve seen this error several times now. I’m guessing you’re using a version of Pythonnet > 2.5.2. Try reverting to Pythonnet 2.5.2.
Take care,
David
Hi Raphael,
I’ve seen this error several times now. I’m guessing you’re using a version of Pythonnet > 2.5.2. Try reverting to Pythonnet 2.5.2.
Take care,
David
Hi David,
Thanks a lot, it works! This also means we are limited to python 3.8 (I had upgraded to 3.9).
Does anyone at Zemax know if this will be corrected?
Thanks!
Raphael
Hi Raphael,
I think Zemax is aware of the issue:
But what I don't know is if this is something they can fix or if the problem is with Pythonnet. Better ask Zemax themselves.
I must add that some stuff still works with more recent version of Pythonnet, but its quite inpredictable. In some projects, I use more recent versions of Python and Pythonnet, and it works fine. If anything, I would say the issue is mostly with analyses.
Take care,
David
Haha indeed, I was actually reading some of those, thanks for your help!