Description Sets the absorption flag for a particular material in the associated FRED document.
Syntax SetMaterialAbsorbFlag id , flag
Parameters id As Long The identifier of the material.
flag As Boolean Absorption flag. Set to True if absorption "Active" checkbox is to be checked, False otherwise.
Remarks This subroutine sets the flag which tells FRED whether to honor any absorption coefficient defined for the specified material or not. The corresponding GUI option is the "Active" check box at the top of the Absorption Tab dialog. The default state for all surfaces is False. If there is a problem the subroutine sets an error and returns without modifying the material.
See Also Examples
|