Description Retrieves the diffraction grating type from a surface. If the node being queried is not a surface or does not have a grating applied, this function will halt with an error.
Syntax gtype = GetDiffractType ( n )
Parameters gtype (String) Type of diffraction grating assigned to the surface. Can be "None", "Linear Grating", or "HOE Grating".
n As Long Node number of the surface.
See Also Diffraction Grating Script Commands
|