Navigation: Scripting Reference Manual > Functions & Subroutines > GetGRINMaterialNumWavelengths

 

GetGRINMaterialNumWavelengths

 

Contact Us: fredsupport@photonengr.com

 

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

GetMaterialType

GetIthLunebergGRINMaterial

GetIthMaxwellGRINMaterial

GetIthSelfocGRINMaterial

GetIthSphericalGRINMaterial

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC