Navigation: Scripting Reference Manual > Functions & Subroutines > ARNAverageAlongBAxis

 

ARNAverageAlongBAxis

 

Contact Us: fredsupport@photonengr.com

 

Description

The average value is calculated for each row of cells in the direction of the B-axis and each cell is assigned the average value for its row.

 

 

Syntax

ARNAverageAlongBAxis arnNode

 

 

Parameters

arnNode As Long

Node number of the ARN for which B-axis averaging is applied.

 

 

Example

The following example traces the active sources in a document, retrieves the ARN created by a detector entity, averages the results in the ARN along the B-axis direction and then displays the result in the 3D view.

 

Sub Main

 

          Dim deNode As Long, arnNode As Long

 

          deNode = FindFullName( "Analysis Surface(s).RadialDetector" )

 

          TraceCreate()

          arnNode = DEGetMostRecentARNNum( deNode )

          ARNAverageAlongBAxis arnNode

          ARNDisplayInVisualizationView( arnNode, "" )

 

End Sub

 

 

See Also

ARNScriptingCommands

 

 

 

 

 

Copyright © Photon Engineering, LLC