Skip to main content
Question

Unable to establish ZOS API connection to Python since Update to 2026R1.01

  • June 5, 2026
  • 2 replies
  • 12 views

Dear all,

 

I updated this morning to Zemax 2026 R1.01. Since then I get the following error message when trying to connect to Zemax with Python via API (e.g. by using the PythonStandAlone_01.py file):

“InitializationException: Unable to locate Zemax OpticStudio.  Try using a hard-coded path.”

 

Did anything change here?

 

Thank you and best regards,

 

Gregor

2 replies

  • Infrared
  • June 5, 2026

Hi, are you using in extension mode or standalone mode? or both!


  • Author
  • Infrared
  • June 5, 2026

I get the same message for both, extension and standalone. Looks like as if the path to something got lost.