Navigation: Scripting Reference Manual > Functions & Subroutines > GetElementEdgeRectangle

 

GetElementEdgeRectangle

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the rectangular edge specification from a mirror or singlet lens.

 

Syntax

GetElementEdgeRectangle n, semiApe1, semiApe2

 

Parameters

n As Long

Node number of the mirror or singlet.

 

semiApe1 As Double

Returns the value of the edge semi-aperture in the X direction.

 

semiApe2 As Double

Returns the value of the edge semi-aperture in the Y direction.

 

Remarks

This subroutine retrieves the rectangular edge specification from a mirror or singlet lens. If there is a problem the subroutine sets an error and returns without modifying the FRED document.

 

See Also

IsElementEdgeRectangle

SetElementEdgeRectangle

Examples

Elements

 

 

 

 

 

 

Copyright © Photon Engineering, LLC