> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Example 10: NSC ZRD Filter String

Ex 10: A sample file is opened, all detectors are cleared, and a ray trace is run while saving a ZRD file. The ZRD file is played back on a detector viewer window, while a filter string is applied to the detector. The number of ray hits and total flux is retrieved from the detector for each pixel. For Premium only, a Ray Path Analysis window is opened, the ZRD is loaded and the output is saved to a text file.

```csharp theme={null}
Input:      Non-Sequential\Ray Splitting\Beam splitter.zos

Output:     API\e10_NSC_ZRD_filter_string.zos
            API\e10_API_Raytrace.ZRD
            API\e10_RayPathAnalysis.txt (Premium Only)
```

[C#](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/2025-r2/page_ex10_cs.md)

[C++](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/2025-r2/page_ex10_cpp.md)

[Matlab](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/2025-r2/page_ex10_m.md)

[Python](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/2025-r2/page_ex10_py.md)
