Skip to main content
Solved

How to find the surface with specific comment in ZPL macro

  • September 5, 2022
  • 1 reply
  • 326 views

yuan.chen
Zemax Staff
Forum|alt.badge.img+3

For example. I created monte carlo files and I want to change the thickness of the specific lens surface with comment “L2” .

Best answer by yuan.chen

There are several numeric functions available: SURC(),SRCN() and SPRO().

They are listed in: The Programming Tab > About the ZPL > Numeric Functions
?name=image.png
?name=image.png
?name=image.png

1 reply

yuan.chen
Zemax Staff
Forum|alt.badge.img+3
  • Author
  • Zemax Staff
  • 278 replies
  • Answer
  • September 5, 2022

There are several numeric functions available: SURC(),SRCN() and SPRO().

They are listed in: The Programming Tab > About the ZPL > Numeric Functions
?name=image.png
?name=image.png
?name=image.png