Navigation: Scripting Reference Manual > Functions & Subroutines > SetThinFilmCoatingParameters

 

SetThinFilmCoatingParameters

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the values for a particular thin film coating.

 

Syntax

success = SetThinFilmCoatingParameters ( id, wavelength, angle, units, isSubstrateAtLastLayer )

 

Parameters

success (Boolean)

Indicates if the function succeeded (True) or failed (False).

 

id As Long

The identifier of the thin film coating.

 

wavelength As Double

The new design wavelength for the thin film coating.

 

angle As Double

The new design angle for the thin film coating.

 

units As String

The new units for the thin film coating. Can be one of "microns", "geometry", "system", or "wavelengths". All other values are assumed to mean wavelengths.

 

isSubstrateAtLastLayer As Boolean

Indicates if the substrate is the last layer (True) or not (False).

 

Remarks

This function sets the values for a particular thin film coating. If there is a problem the function sets an error and returns False.

 

See Also

AddThinFilmCoating

GetThinFilmCoatingParameters

AddThinFilmLayer

GetThinFilmIthLayer

SetThinFilmIthLayer

DeleteThinFilmIthLayer

GetThinFilmLayerCount

Examples

Coatings

 

 

 

 

 

Copyright © Photon Engineering, LLC