Navigation: Scripting Reference Manual > Functions & Subroutines > SetXYToroidalAsphereIthCoef

 

SetXYToroidalAsphereIthCoef

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets a specified aspheric coefficient in a particular X-Y Toroidal Asphere surface.

 

Syntax

SetXYToroidalAsphereIthCoef n, indx, coef

 

Parameters

n As Long

Node number for the surface.

 

indx As Long

Zero-based index of coefficient from the surface to modify.

 

coef As Double

The new value for the coefficient.

 

Remarks

This subroutine sets a specified aspheric coefficient in a particular X-Y Toroidal Asphere surface.  If there is a problem, the function posts an error and returns without modifying the surface.

 

See Also

AddXYToroidalAsphere

GetXYToroidalAsphere

SetXYToroidalAsphere

GetXYToroidalAsphereIthCoef

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC