Get Connected...

There are two different methods to connect to the Ansys Zemax OpticStudio API (ZOS-API):

Either your application is 'Standalone' and it will start OpticStudio during its execution, or OpticStudio is already running and will call your application ('Inherent'). For either case, you need a properly installed and licensed version of Ansys Zemax OpticStudio.

The standard boilerplate code that every ZOS-API Application needs can be generated by the Standalone Application buttons available in ZOS-API.NET Application Builders group in the Programming Tab.

The button to be clicked is related to programming language to be used, take MATLAB as example:



NOTE:

This document focuses on using ZOS-API in a .NET environment using C# (or any other .NET-capable language). ZOS-API can also be used in a .COM environment using C++ (or any other .COM-capable language).

Next: