Skip to main content

Zemax OpticStudio ZOS-API 2026 R1

Example 14: Sequential Tolerance

Last update: 09.03.2026

Ex 14: A sequential tolerance analysis (tolerance data editor) is setup via the tolerancing wizard, specifying the surface/element tolerances. Several settings in the tolerancing window are modified, such as the sensitivity mode, criterion, fields, and number of Monte Carlo runs. The tolerance is then run and the Monte Carlo files are saved to Samples\API\{language}\e14_seq_tolerance. Lastly, the file is converted to non-sequential mode.

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

Output:		API\e14_seq_tolerance\Double Gauss (seq).zos
            API\e14_seq_tolerance\Double Gauss (NS).zos

C#

C++

Matlab

Python

Connect with Ansys