Navigation: Scripting Reference Manual > Functions & Subroutines > IsMzrLogBeforeAndAfter

 

IsMzrLogBeforeAndAfter

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the flag indicating whether variable values and aberration values from before and after optimization will be printed to the output window following an optimization.

 

Syntax

bStatus = IsMzrLogBeforeAndAfter()

 

Parameters

bStatus As Boolean

Return value indicating whether logging and printing of variable and aberration values before and after optimization is active.  If bStatus is True, logging is active.

 

Example

The following example demonstrates how retrieve and print the status of optimization variable and aberration before/after logging.

 

Sub Main

    Dim bStatus As Boolean

    bStatus = IsMzrLogBeforeAndAfter()

    Print "Before/After Log status: " & Chr(9) & bStatus

 

End Sub

 

See Also

Optimization Script Commands

 

 

 

 

 

Copyright © Photon Engineering, LLC