Skip to main content

Zemax OpticStudio ZOS-API 2026 R1

Example 18: Multiple Configurations

Last update: 09.03.2026

Ex 18: A sample file is opened and multiple configurations, along with MCE operands, are added to the system. The THIC multi-configuration operand is created and each configuration is refocused by looping through all configurations and running the quick focus tool. A multi-configuration system is manually created for thermal analysis, with all the appropriate thermal operands and thermal pickups.

Input:		Sequential\Objectives\Double Gauss 28 degree field.zos
            Sequential\Objectives\Doublet.zos

Output:		API\e18_Double_Gauss_28_degree_field_MultiConfig.zos
            API\e18_Doublet_MakeTermal.zos

C#

C++

Matlab

Python

Connect with Ansys