Navigation: Scripting Reference Manual > Functions & Subroutines > SetSourceIthWavelengthActive

 

SetSourceIthWavelengthActive

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the active flag for a specific wavelength entry on the given source node.

 

Syntax

SetSourceIthWavelengthActive nSource, nWave, flag

 

Parameters

nSource As Long

Node number of source.

 

nWave As Long

Source wavelength index.

 

flag As Boolean

Wavelength status flag. True for "active", False for inactive.

 

Remarks

Sets the active flag for a specific wavelength entry on the given source node.

 

Source wavelengths can now be individually made "active" or 'inactive".  No rays will be created at inactive wavelengths during source creation.  The power of rays created by the source will be adjusted to agree with the fractional power implied by the active wavelengths, i.e. the power associated with inactive wavelengths is removed.

 

See Also

GetSourceIthWavelengthActive

AddSourceWavelengthSpec

DeleteSourceIthWavelengthSpec

GetSourceIthWavelength

GetSourceIthWavelengthSpec

SetSourceIthWavelengthSpec

GetSourceWavelengthCount

 

 

 

 

 

Copyright © Photon Engineering, LLC