Description Retrieves the number of wavelengths assigned to a GRIN material.
Syntax nwave = GetGRINMaterialNumWavelengths ( id )
Parameters nwave (Long) Returns number of wavelengths associated with a GRIN material.
id As Long The identifier of the material.
Remarks GetGRINMaterialNumWavelengths retrieves the number of wavelengths associated with a specific GRIN material. If there is a problem, the function generates an error and returns the value -1.
See Also Examples
|