Navigation: Scripting Reference Manual > Functions & Subroutines > GetDiffractLinear

 

GetDiffractLinear

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the parameters of a Linear Diffraction Grating assigned to a specified surface.

 

Syntax

GetDiffractLinear n, angle, freq

 

Parameters

n As Long

Node number of the surface.

 

angle As Double

Returns the orientation angle of the diffraction grating lines.

 

freq As Double

Returns the frequency of the diffraction grating in inverse system units.

 

Remarks

This subroutine retrieves the values of the Linear Diffraction Grating of a particular surface.  If there is a problem, the subroutine sets an error and returns without modifying the parameters.

 

See Also

Diffraction Grating Script Commands

Diffraction Gratings

 

 

 

 

 

Copyright © Photon Engineering, LLC