Skip to main content
Solved

Why does my macro output results from 1 previous macro run?


HM Light

I have a question about Zemax Macro. My macro outputs the results from 1 previous macro setting, even though I edit and save the new setting in the macro every time. I put the screenshot that explain this problem. I have no idea why it happens, so I would like to have any suggestion and comments. 

 

Best answer by Sean Turner

Try adding the UPDATE keyword before RAYTRACE.

View original
Did this topic help you find an answer to your question?

2 replies

Sean Turner
Ultraviolet
Forum|alt.badge.img+1
  • Ultraviolet
  • 88 replies
  • Answer
  • March 14, 2025

Try adding the UPDATE keyword before RAYTRACE.


HM Light
  • Author
  • Single Emitter
  • 1 reply
  • March 14, 2025

Thank you so much! Yes, it looks like the UPDATE is needed before RAYTRACE. It works well after adding the UPDATE. 

I found the description of UPDATE in the user manual. Much appreciated.

 


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