Skip to main content

Zemax OpticStudio ZOS-API 2026 R1

Example 24: Non-Sequential Detector Data

Last update: 09.03.2026

Ex 24: A basic non-sequential system is built with several different object types, and changes are made to object parameters through the INCERow interface. Face type, coating, and scatter profile properties are set on volumetric objects. A ray trace is run and a native OpticStudio detector is opened for reference. Then, the detector pixel data is extracted and plotted outside of OpticStudio.

Input: 		None

Output: 	Graph (Matlab, Python)
            API\e24_nsc_detector_rgb.txt (C++, C#)
            API\e24_nsc_detector_falsecolor.txt (C++, C#)
            API\e24_nsc_detectors.zos

C#

C++

Matlab

Python

Connect with Ansys