Skip to main content
Solved

saving txt files in a loop with incremental file name

  • September 20, 2023
  • 2 replies
  • 131 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
Did this topic help you find an answer to your question?

2 replies

yuan.chen
Zemax Staff
Forum|alt.badge.img+3
  • Zemax Staff
  • 275 replies
  • Answer
  • September 20, 2023

Forum|alt.badge.img
  • Author
  • Infrared
  • 12 replies
  • September 20, 2023

Thank you Yuan :-)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings