Navigation: Scripting Reference Manual > Functions & Subroutines > DeleteAnalysisSurfIthOp

 

DeleteAnalysisSurfIthOp

 

Contact Us: fredsupport@photonengr.com

 

Description

Deletes a ray filter operation from a specific Analysis Surface in the associated FRED document.

 

Syntax

number = DeleteAnalysisSurfIthOp ( n, idx )

 

Parameters

number (Long)

The number of ray filter operations for the specific Analysis Surface.

 

n As Long

Node number of the Analysis Surface.

 

idx As Long

The index (zero based) of the ray filter operation.

 

Remarks

This function deletes a ray filter operation from a specific Analysis Surface in the associated FRED document. If there is a problem, the function sets an error and returns -1. If idx is less than 0 or greater than the number of operations in the Analysis Surface, the function does nothing and returns the number of operations.

 

See Also

AddAnalysisSurf

SetAnalysisSurf

GetAnalysisSurf

GetAnalysisSurfOpCount

AddAnalysisSurfOp

SetAnalysisSurfIthOp

GetAnalysisSurfIthOp

Examples

 

 

 

 

 

Copyright © Photon Engineering, LLC