Navigation: Scripting Reference Manual > Functions & Subroutines > SetLensCurv1

 

SetLensCurv1

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the front curvature for a particular lens.

 

Syntax

SetLensCurv1 n, curve

 

Parameters

n As Long

Node number of the lens.

 

curve As Double

The new curvature for the front surface of the lens.

 

Remarks

This subroutine sets the front curvature for a particular lens. If there is a problem the function sets an error and returns without modifying the lens.

 

See Also

GetLensCurv1 

GetLensCurv2 

SetLensCurv2

Examples

Elements

 

 

 

 

 

Copyright © Photon Engineering, LLC