Navigation: Scripting Reference Manual > Functions & Subroutines > AddMatrixCoatingType

 

AddMatrixCoatingType

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a predefined Matrix Coating to the associated FRED document.

 

Syntax

id =  AddMatrixCoatingType ( cname, ctype )

 

Parameters

id (Long)

Identifier of the new coating.

 

cname As String

The name assigned to the new coating.

 

ctype As String

The type of coating to add. May be one of the following. Other values for type are not recognized and will generate an error.

 

"General Matrix"

"X Linear Polarizer"

"Y Linear Polarizer"

"+45 Linear Polarizer"

"-45 Linear Polarizer"

"1/4 wave Fast Axis X"

"1/4 wave Fast Axis Y"

"1/4 wave Fast Axis +45"

"1/4 wave Fast Axis -45"

"1/2 wave Fast Axis X"

"1/2 wave Fast Axis Y"

"1/2 wave Fast Axis +45"

"1/2 wave Fast Axis -45"

"Right Circular Polarizer"

"Left Circular Polarizer"

 

 

Remarks

This function adds a predefined Matrix Coating to the associated FRED document. If there is a problem the function sets an error and returns -1.

 

See Also

T_JONESMATRIX

AddMatrixCoating

InitMatrixCoating

GetMatrixCoating

GetMatrixCoatingType

SetMatrixCoating

SetMatrixCoatingType

Examples

Coatings

 

 

 

 

 

 

Copyright © Photon Engineering, LLC