Navigation: Scripting Reference Manual > Functions & Subroutines > SetThinFilmIthLayer

 

SetThinFilmIthLayer

 

Contact Us: fredsupport@photonengr.com

 

Description

Modifies a particular layer of a thin film coating in the associated FRED document.

 

Syntax

success = SetThinFilmIthLayer ( id, indx, thickness, material )

 

Parameters

success (Boolean)

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

 

id As Long

The identifier of the thin film coating.

 

indx As Long

The index (zero based) of the layer.

 

thickness As Double

The new thickness of the layer.

 

material As Long

The identifier of the material to use for the layer.

 

 

Remarks

This function modifies a particular layer of a thin film coating in the associated FRED document. If there is a problem, the function sets an error and returns False without modifying the coating.

 

The "repeat count" of a thin film layer can only be set using the AddThinFilmLayer command.

 

See Also

AddThinFilmCoating

GetThinFilmCoatingParameters

SetThinFilmCoatingParameters

AddThinFilmLayer

GetThinFilmIthLayer

DeleteThinFilmIthLayer

GetThinFilmLayerCount

Examples

Coatings

 

 

 

 

 

Copyright © Photon Engineering, LLC