Description Gets the source wavelength range, which is applied when using the ray wavelength generation method "Randomly according to spectrum".
Syntax GetSourceRayWavelengthRange 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 The following example finds a source node, gets the minimum and maximum wavelengths in the range and then displays the results.
Dim srcNode As Long Dim wlMin As Double Dim wlMax As Double
srcNode = FindFullName( "Optical Sources.Source 1" ) GetSourceRayWavelengthRange srcNode, wlMin, wlMax Print "Minimum wavelength: " & wlMin Print "Maximum wavelength: " & wlMax
See Also
|