The Zemax Knowledgebase is moving!
On August 1, 2025, our articles will only be available on Ansys Optics. As they become available, use the new URL listed at the top of an article to update your bookmarks.Note: Ansys Optics is in English only. If a translation is available on an individual article, it will be listed below the article title.
- Optimization using a ZPL Macro: the ZPLM operand
- How to write a ZPL macro: Computing Zonal Transverse Chromatic Aberration
- How to write a Grid Sag DAT file programmatically
- The differences between ZOS-API, ZPL and DLL
- OpticStudio narcissus analysis macro
- ZPL macro for scaling the weight of a range of optimization operands
- How to calculate the sag of a diffractive optical element with a macro
- How to use the ZRDPLAYBACK keyword to obtain filtered results
- How to set solves from ZPL
- How to open consecutively-named lens files using a ZPL macro
- How to update and change the settings of a graphic window from ZPL
- How to obtain the value for any optimization operand in a ZPL macro using OPEV and OPEW
- How to call a ZPL macro from within a ZPL macro
- Working with strings in ZPL Macros
- How to use the PLOT keyword in ZPL
- How to debug a ZPL macro
- How to create a user-defined solve using the Zemax Programming Language (ZPL)
- Introduction to Zemax Programming Language (ZPL)