Navigation: Scripting Reference Manual > Functions & Subroutines > GetEncryptedThinFilmIsSubstrateAtLastLayer

 

GetEncryptedThinFilmIsSubstrateAtLastLayer

 

Contact Us: fredsupport@photonengr.com

 

Description

This function returns a boolean indicating whether the substrate of an Encrypted Thin Film coating is at the last layer of the stack.

 

Syntax

isLast = GetEncryptedThinFilmIsSubstrateAtLastLayer( coat )

 

Parameters

isLast (Boolean)

Returned boolean indicating the coating orientation.  If True, then the substrate is at the last layer of the thin film stack.  If False, then the substrate is at the first layer of the stack.

 

coat As Long

Node number of the coating being queried.

 

Example

The example below demonstrates how to retrieve the coating orientation from an Encrypted Thin Film coating.

 

Sub Main

 

    Dim eCoat As Long

    eCoat = FindCoating( "Test Encrypted Coating" )

    Print "Substrate is at last layer: " & GetEncryptedThinFilmIsSubstrateAtLastLayer( eCoat )

 

End Sub

 

See Also

Coating Script Commands

 

AddEncryptedThinFilmCoatingFromData

AddEncryptedThinFilmCoatingFromFile

GetEncryptedThinFilmFileName

SetEncryptedThinFilmFileName

SetEncryptedThinFilmIsSubstrateAtLastLayer

 

 

 

 

 

Copyright © Photon Engineering, LLC