Navigation: Scripting Reference Manual > Functions & Subroutines > SetLensFocalLen

 

SetLensFocalLen

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the focal length for a specified singlet lens.

 

Syntax

SetLensFocalLen n, fl

 

Parameters

n As Long

Node number of the lens.

 

fl As Double

The new focal length for the specified lens.

 

Remarks

This subroutine sets the focal length for a specified singlet lens. If there is a problem the function sets an error and returns without modifying the singlet.

 

See Also

GetLensFocalLen

GetLensBending

SetLensBending

Examples

Elements

 

 

 

 

 

Copyright © Photon Engineering, LLC