Navigation: Scripting Reference Manual > Functions & Subroutines > FindMaterialAbsorbWavel

 

FindMaterialAbsorbWavel

 

Contact Us: fredsupport@photonengr.com

 

Description

Returns the zero-based index of the absorption coefficient or internal transmittance at a specified wavelength for a particular material in the associated FRED document.

 

Syntax

n = FindMaterialAbsorb (id, wave)

 

Parameters

n (Long)

Zero-based index of absorption coefficient at specified wavelength.

 

id As Long

The identifier of the material.

 

wave As Double

Wavelength for which absorption coefficient applies.

 

 

Remarks

This subroutine return the zero-based index in the list for an absorption coefficient at the specified wavelength for the given material. If there is a problem the subroutine sets an error and returns -1.

 

Currently, this feature is only available in the scripting language.

 

See Also

GetMaterialAbsorb

SetMaterialAbsorb

GetMaterialAbsorbFlag

SetMaterialAbsorbFlag

GetIthMaterialAbsorb

SetIthMaterialAbsorbWavel

SetIthMaterialAbsorbCoeff

SetIthMaterialAbsorb

MaterialAbsorbCount

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC