There are two ways to do this:
- Use the Save detector Data tool to create the source file
-
- Generate the source file by running raytracing. Pay attention that you have to put the detector number and - to get the source file.
![](https://uploads-us-west-2.insided.com/zemax-en/attachment/d1d3a135-dd36-419c-9417-f6fff062aa77.png)
You can find the generated source file here:
![](https://uploads-us-west-2.insided.com/zemax-en/attachment/709d2429-1f36-495f-b348-64cf1175ecd6.png)
About how to use the source file, it’s mentioned here: