Skip to main content
Solved

How to find the surface with specific comment in ZPL macro

  • Sep 5, 2022 2:52 AM UTC
  • 1 reply
  • 409 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

View original

1 reply

yuan.chen
Zemax Staff
Forum|alt.badge.img+3
  • Author
  • Zemax Staff
  • Answer
  • Sep 5, 2022 2:52 AM UTC

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