Skip to main content
Solved

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

  • May 26, 2021
  • 2 replies
  • 77 views

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

 

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