Navigation: Scripting Reference Manual > Functions & Subroutines > ARNAverageAlongAAxis

 

ARNAverageAlongAAxis

 

Contact Us: fredsupport@photonengr.com

 

Description

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

 

 

Syntax

ARNAverageAlongAAxis arnNode

 

 

Parameters

arnNode As Long

Node number of the ARN for which A-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 A-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 )

          ARNAverageAlongAAxis arnNode

          ARNDisplayInVisualizationView( arnNode, "" )

 

End Sub

 

 

See Also

ARNScriptingCommands

 

 

 

 

 

Copyright © Photon Engineering, LLC