> ## 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.

# ExportRayFile

## Description

Creates a .txt or a .dis file based on the .ray file opened.

## Syntax

*object*.ExportRayFile(LPCTSTR strFileName, float fMinWavelength, float fMaxWavelength, int iNbOfWavelength) As Short

* *strFileName*: .txt

* *strFileName*: .dis

* *fMinWavelength*: corresponds to the minimum wavelength (to be set only for a .dis file)

* *fMaxWavelength*: corresponds to the maximum wavelength (to be set only for a .dis file)

* *iNbOfWavelength*: corresponds to the number of wavelength (to be set only for a .dis file)
