Navigation: Scripting Reference Manual > Functions & Subroutines > SetIthMaterialAbsorbCoeff

 

SetIthMaterialAbsorbCoeff

 

Contact Us: fredsupport@photonengr.com

 

Description

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

 

Syntax

SetIthMaterialAbsorbCoef id, indx, coeff

 

Parameters

id As Long

The identifier of the material.

 

indx As Long

Zero-based index of absorption coefficient or internal transmittance value.

 

coeff As Double

Absorption coefficient in inverse system units or internal transmittance value.

 

 

Remarks

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

 

See Also

SetIthMaterialAbsorb

SetIthMaterialAbsorbWavel

GetIthMaterialAbsorb

GetMaterialAbsorb

SetMaterialAbsorb

GetMaterialAbsorbFlag

SetMaterialAbsorbFlag

SetIthMaterialAbsorb

MaterialAbsorbCount

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC