Description Sets an absorption coefficient or internal transmittance at a specified wavelength for a particular material in the associated FRED document.
Syntax count = SetMaterialAbsorb( id, wave, coef )
Parameters count (Long) Number of entries (rows) in the data table.
id As Long The identifier of the material.
wave As Double Wavelength for which absorption coefficient applies.
coef As Double Absorption coefficient in inverse system units or internal transmittance.
Remarks This subroutine sets an absorption coefficient or internal transmittance at the specified wavelength for the given material. Absorption coefficients are expressed in inverse system units while internal transmittance varies from 0 to 1. If there is a problem the subroutine sets an error and returns without modifying the material. The command AddMaterialAbsorb can be used as a synonym.
See Also Examples
|