Navigation: Scripting Reference Manual > Functions & Subroutines > GetLens

 

GetLens

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves a singlet lens from the associated FRED document.

 

Syntax

GetLens n, entity, lens

 

Parameters

n As Long

Node number of the lens.

 

entity As T_ENTITY

Structure containing the basic entity data for the lens.

 

lens as T_LENS

Structure containing the optical data specific to the lens.

 

Remarks

This subroutine retrieves a singlet lens from the associated FRED document. If there is a problem the subroutine sets an error and returns without modifying the parameters.

 

See Also

T_ENTITY

T_LENS

AddLens

InitLens

SetLens

Examples

Elements

 

 

 

 

 

Copyright © Photon Engineering, LLC