Navigation: Scripting Reference Manual > Functions & Subroutines > MaterialAbsorbCount

 

MaterialAbsorbCount

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the number of absorption or internal transmittance entries for a particular material in the associated FRED document.

 

Syntax

count = MaterialAbsorbCount ( id )

 

Parameters

count (Long)

Number of absorption coefficients assigned to the specified material.

 

id As Long

The identifier of the material.

 

 

Remarks

This subroutine retrieves the number of absorption or internal transmittance entries defined for the specified material. If there is a problem the subroutine sets an error.

 

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

 

See Also

GetMaterialAbsorbFlag

SetMaterialAbsorbFlag

GetMaterialAbsorb

SetMaterialAbsorb

FindMaterialAbsorbWavel

GetIthMaterialAbsorb

SetIthMaterialAbsorbWavel

SetIthMaterialAbsorbCoeff

SetIthMaterialAbsorb

Examples

Materials

 

 

 

 

 

 

Copyright © Photon Engineering, LLC