Skip to main content
Solved

saving txt files in a loop with incremental file name

  • Sep 20, 2023 6:43 AM UTC
  • 2 replies
  • 266 views

Forum|alt.badge.img

Hi

I would like to save a txt file at each step of a loop. So I need to change the name of the saved file to not overwrite the previous one. 

Does someone have an example to share?

Thank you.

Best answer by yuan.chen

How to open consecutively-named lens files using a ZPL macro – Knowledgebase (zemax.com)

View original

2 replies

yuan.chen
Zemax Staff
Forum|alt.badge.img+3
  • Zemax Staff
  • Answer
  • Sep 20, 2023 6:44 AM UTC

Forum|alt.badge.img
  • Author
  • Visible
  • Sep 20, 2023 9:34 AM UTC

Thank you Yuan :-)