Navigation: Scripting Reference Manual > Functions & Subroutines > SetIthSelfocGRINMaterial

 

SetIthSelfocGRINMaterial

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the wavelength and coefficients for the ith table entry in an existing Selfoc GRIN material.

 

Syntax

SetIthSelfocGRINMaterial id, nWavelenNum, wave, coeffs

 

Parameters

id As Long

Identifier of the Selfoc GRIN material.

 

nWavelenNum As Long

The index in the wavelength table of the entry to be set.

 

wave As Double

Wavelength corresponding to the given table index.

 

coeffs() As Double

Array containing coefficients at dwave corresponding to the given table index.

 

 

Remarks

SetIthSelfocGRINMaterial sets the wavelength and coefficients for the ith table entry in an existing Selfoc GRIN material. If there is a problem, an error is generated and the material is not altered.

 

See Also

AppendSelfocGRINMaterial

RemoveIthSelfocGRINMaterial

GetIthSelfocGRINMaterial

AddSelfocGRINMaterial

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC