Skip to main content

Detector viewer in zemax macro

  • December 6, 2019
  • 3 replies
  • 289 views

Dear all,

I'm in problems with using zemax macro in NSQ mode.

I want to:
1. open the detector viewer with the zemax macro.
2. save/export image and text data(not ray data!) of the detector viewer with the zemax macro.

Could someone please help me or give some macro codes for these problems?

Thanks. 

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

3 replies

Sean Turner
Fully Spectral
Forum|alt.badge.img+1
  • Fully Spectral
  • 97 replies
  • December 6, 2019
Hi,

EXPORTBMP will let you save the image from the detector.  

GETTEXTFILE lets you save the text data from the detector viewer window. 

I hope this helps.

Sean

Mark.Nicholson
Luminary
Forum|alt.badge.img+3
SAVEDETECTOR will also save the data in a detector (not the ray trace data, that's held in a .ZRD file). It and LOADDETECOR perform the same functions as you get under Detector Tools in the UI

  • Author
  • Monochrome
  • 2 replies
  • December 8, 2019
Thank you all!

Bless you.

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