Navigation: Scripting Reference Manual > Functions & Subroutines > SetMirrorFocalLen

 

SetMirrorFocalLen

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the focal length of a specific mirror in the associated FRED document.

 

Syntax

SetMirrorFocalLen n, fl

 

Parameters

n As Long

Node number of the mirror.

 

fl As Double

The new focal length for the mirror.

 

Remarks

This subroutine sets the focal length of a specific mirror in the associated FRED document. If there is a problem the subroutine sets an error and returns without modifying the mirror.

 

See Also

AddMirror

GetMirror

InitMirror

SetMirror

GetMirrorCurv

SetMirrorCurv

GetMirrorFocalLen

Examples

Elements

 

 

 

 

 

Copyright © Photon Engineering, LLC