Skip to main content
Solved

ZOS-API / Force OpticStudio to re-read external files (SourceRay, CAD, ...)


Brian.Catanzaro
Fully Spectral
Forum|alt.badge.img+4

When a SourceRay file is updated, the OpticStudio model will not automatically re-read this file and update. 

How do I force the NCE or the NCERow to re-read the file (without saving and re-opening the model, which takes a long time)

-B

Best answer by Sandrine Auriol

Hello Brian

You wil have to use the API implementation of the Reload Object or Reload All Objects buttons. 

 

Let us know if that works for you.

Sandrine

 

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

2 replies

Forum|alt.badge.img+2

Hello Brian

You wil have to use the API implementation of the Reload Object or Reload All Objects buttons. 

 

Let us know if that works for you.

Sandrine

 


Brian.Catanzaro
Fully Spectral
Forum|alt.badge.img+4

Works great!  Thanks!

-B


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