Skip to main content

Zemax OpticStudio ZOS-API 2026 R1

Example 19: Surface Properties

Last update: 09.03.2026

Ex 19: A chain of prisms is built in sequential mode. Several surfaces are inserted into the LDE and surface properties are alerted to tilt the front and rear face of each prism. Coordinate breaks are inserted around the prism and then the sequence of coordinate breaks and prism surfaces are copied to create a semi-circle chain of prisms. Both the Local to Global and the Global to Local tools are demonstrated with this system. This sample is the equivalent of the KBA article “How to Work in Global Coordinates in a Sequential Optical System”

Input:		None

Output:		API\e19_Sample_Prism_Chain.zos
            API\e19_Sample_Prism_Chain_GlobalCoordinate.zos
            API\e19_Sample_Prism_Chain_BackTo_LocalCoordinate.zos

C#

C++

Matlab

Python

Connect with Ansys