Skip to main content

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. 



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
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
Thank you all!





Bless you.

Reply