Navigation: Scripting Reference Manual > Functions & Subroutines > SetElementEdgeRectangle

 

SetElementEdgeRectangle

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the rectangular edge specification for a mirror or singlet lens.

 

Syntax

SetElementEdgeRectangle n, semiApX, semiApY

 

Parameters

n As Long

Node number of the mirror or singlet.

 

semiApX As Double

The new value of the edge semi-aperture in the X direction.

 

semiApY As Double

The new value of the edge semi-aperture in the Y direction.

 

Remarks

This subroutine sets the rectangular edge specification for a mirror or singlet lens. The edge is a single edge surface of rectangular shape. If there is a problem the subroutine sets an error and returns without modifying the mirror or singlet.

 

See Also

IsElementEdgeRectangle

GetElementEdgeRectangle

 

Examples

Elements

 

 

 

 

 

Copyright © Photon Engineering, LLC