Skip to main content

ZOS-API interface 2024 R1

Example 20: Exporting as CAD File

Last update: 17.07.2025

Ex 20: The IExportCAD interface is used to export a non-sequential system (…\Non-sequential\Miscellaneous\Digital_projector_flys_eye_homogenizer.zos) as a STEP file. The Export tool settings are customized and the tool is run to completion with a custom timeout.

Input:      Non-Sequential\Miscellaneous\Digital_projector_flys_eye_homogenizer.zos

Output: Zemax\Objects\CAD Files\API_CADexport_sample.step

C#

C++

Matlab

Python

Connect with Ansys