Navigation: Scripting Reference Manual > Functions & Subroutines > GetLensFocalLen

 

GetLensFocalLen

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the focal length from a specific singlet lens.

 

Syntax

fl = GetLensFocalLen ( n )

 

Parameters

fl (Double)

The focal length of the specified lens in system units.

 

n As Long

Node number of the singlet.

 

Remarks

This function retrieves the focal length from a specific singlet lens. If there is a problem the function sets an error and returns 0.

 

See Also

SetLensFocalLen

GetLensBending

SetLensBending

Examples

Elements

 

 

 

 

 

Copyright © Photon Engineering, LLC