Navigation: Scripting Reference Manual > Functions & Subroutines > AddMatrixCoating

 

AddMatrixCoating

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a general Jones matrix coating to the associated FRED document.

 

Syntax

id = AddMatrixCoating ( cname, matrix )

 

Parameters

id (Long)

Identifier of the new matrix coating.

 

cname As String

The name assigned to the new matrix coating.

 

matrix As T_JONESMATRIX

Structure containing data needed to create the new matrix coating.

 

 

Remarks

This function adds a general matrix coating to the associated FRED document. If there is a problem, the function does not set an error and returns -1.

 

See Also

T_JONESMATRIX

InitMatrixCoating

AddMatrixCoatingType

GetMatrixCoating

GetMatrixCoatingType

SetMatrixCoating

SetMatrixCoatingType

Examples

Coatings

 

 

 

 

 

Copyright © Photon Engineering, LLC