Navigation: Scripting Reference Manual > Functions & Subroutines > SetIthMaterialAbsorb

 

SetIthMaterialAbsorb

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the ith absorption coefficient or internal transmittance value at a specified wavelength for a particular material in the associated FRED document.

 

Syntax

SetIthMaterialAbsorb id, indx, wavel, coef

 

Parameters

id As Long

The identifier of the material.

 

indx As Long

Zero-based index of absorption coefficient or internal transmittance at specified wavelength.

 

wavel As Double

Wavelength for which absorption coefficient or internal transmittance value applies.

 

coef As Double

Absorption coefficient in inverse system units or internal transmittance value.

 

 

Remarks

This subroutine sets the ith absorption coefficient or internal transmittance value at the specified wavelength for the given material. If there is a problem the subroutine sets an index out of bounds error.

 

See Also

SetIthMaterialAbsorbWavel

SetIthMaterialAbsorbCoeff

GetIthMaterialAbsorb

GetMaterialAbsorb

SetMaterialAbsorb

GetMaterialAbsorbFlag

SetMaterialAbsorbFlag

SetIthMaterialAbsorb

MaterialAbsorbCount

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC