Skip to main content

Speos Labs Automation 2024 R2

ExportRayFile

Last update: 17.07.2025

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)

Connect with Ansys