Description Adds a thin film coating to the associated FRED document.
Syntax id = AddThinFilmCoating ( cname, wavelength, angle, unit, isSubstrateAtLastLayer )
Parameters id (Long) Identifier of the newly added thin film coating.
cname As String The name of the new thin film coating.
wavelength As Double The design wavelength, in microns.
angle As Double The design angle, in degrees.
unit As String The length unit for layer thicknesses. Can be one of "microns", "geometry", or "Waves". All other strings are treated as using wavelength units.
isSubstrateAtLastLayer As Boolean Sets the orientation of the thin film. Set to True for low index positive orientation, False for high index negative orientation.
Remarks This function adds a thin film coating to the associated FRED document. After the coating has been added one typically adds thin film layers to complete the definition of the coating. If there is a problem, the function returns -1 and does not set an error.
See Also Examples
|