Skip to main content

ZOS-API interface 2024 R1

Example 05: Parsing a ZRD File

Last update: 17.07.2025

Ex 5: A sample file (..\Non-sequential\Miscellaneous\Digital_projector_flys_eye_homogenizer) is opened, a ray trace is performed while saving the ZRD file, the ZRD file is opened and all ray segment data is read.

Input:      Non-sequential\Miscellaneous\Digital_projector_flys_eye_homogenizer.zos

Output: Console text

C#

C++

Mathematica

Matlab

Python

Connect with Ansys