Navigation: Scripting Reference Manual > Functions & Subroutines > SetSourceRayWavelengthRange

 

SetSourceRayWavelengthRange

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the source wavelength range, which is applied when using the ray wavelength generation method "Randomly according to spectrum".  This is equivalent to entering values in the Wavelength Range section of the Wavelength tab on a source dialog.  If the source ray wavelength generation method is not "Randomly according to spectrum", the subroutine still modifies the wavelength range.

 

 

Syntax

SetSourceRayWavelengthRange srcNode, wvlMin, wvlMax

 

 

Parameters

srcNode As Long

Node number of the source being modified.

 

wvlMin As Double

Minimum range wavelength.

 

wvlMax As Double

Maximum range wavelength.

 

 

Remarks

 

 

See Also

SetSourceSpectrum

GetSourceSpectrum

SetSourcePowerUnits

GetSourcePowerUnits

SetSourceRayWavelengthMethod

GetSourceRayWavelengthMethod

GetSourceRayWavelengthRange

 

 

 

 

 

Copyright © Photon Engineering, LLC