Navigation: Scripting Reference Manual > Functions & Subroutines > AddEncryptedThinFilmCoatingFromData

 

AddEncryptedThinFilmCoatingFromData

 

Contact Us: fredsupport@photonengr.com

 

Description

This function is provided in support of model export using the File > Export > FRED Script export option.  If a model containing an Encrypted Thin Film coating model is exported to a FRED script file, the encrypted coating data is contained within a hex string.  This function allows the encrypted coating to be rebuilt using this hex string.  See the Export FRED Script help topic for more information.

 

The AddEncryptedThinFilmCoatingFromFile function should be used when creating an Encrypted Thin Film coating model from an encrypted *.fec file.

 

Syntax

ecNode = AddEncryptedThinFilmCoatingFromData( ecName, ecData )

 

Parameters

ecNode (Long)

Returned node number of the Encrypted Thin Film coating that was added.

 

ecName As String

Name of the coating to be created.  If an empty string is provided (i.e. ""), then the coating name in the encrypted data will be used.

 

ecData As String

An encrypted data string is automatically generated as part of the FRED Script Export.

 

 

See Also

Coating Script Commands

Encrypted Thin Film Coating

 

AddEncryptedThinFilmCoatingFromFile

GetEncryptedThinFilmFileName

GetEncryptedThinFilmIsSubstrateAtLastLayer

SetEncryptedThinFilmFileName

SetEncryptedThinFilmIsSubstrateAtLastLayer

 

 

 

 

 

Copyright © Photon Engineering, LLC