Skip to main content

ZOS-API interface 2025 R2 SP02

Example 05: Parsing a ZRD File

Last update: 19.09.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