Skip to main content
Solved

ZOSAPI如何在改变系统后,让zemax刷新一次分析窗口

  • January 26, 2022
  • 1 reply
  • 211 views

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

有时候使用update刷新分析窗口并不会发生变化,要怎么处理?

Best answer by yuan.chen

这个跟ZOSAPI的默认设置有关系。需要更新分析窗口的话,要把分析类型更改为AllWindows.

TheSystem.UpdateMode=ZOSAPI.LensUpdateMode.AllWindows;
TheSystem.UpdateStatus();

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

1 reply

yuan.chen
Zemax Staff
Forum|alt.badge.img+3
  • Author
  • Zemax Staff
  • 275 replies
  • Answer
  • January 26, 2022

这个跟ZOSAPI的默认设置有关系。需要更新分析窗口的话,要把分析类型更改为AllWindows.

TheSystem.UpdateMode=ZOSAPI.LensUpdateMode.AllWindows;
TheSystem.UpdateStatus();


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