Hi Zemaxers
I am trying the python sample code of ZOS-API (as attached below). But it does not work at the first step.
The error shows as below
AttributeError: 'PythonStandaloneApplication' object has no attribute 'TheApplication'
(after checking the zemax install root , I guess it has something with 'TheApplication' attribute)
Environment
python 3.10
PyCharm Community Edition 2022.1
Ansys Zemax OpticStudio 2024 R1.03
pythonnet version 3.0.3
Attached code
What I have done:
checked the address below, it is correct
Could you give me some advice on this issue?
Thank you
YANG