Navigation: Scripting Reference Manual > Functions & Subroutines > ARNSetPolarAxis Subroutine

 

ARNSetPolarAxis Subroutine

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the value of the polar axis of the ARN as a Long data type.  A value of 0 indicates the polar axis is in the A-direction and a value of 1 indicates that the polar axis is in the B-direction.

 

 

Syntax

ARNSetPolarAxis arnNode, axis

 

 

Parameters

arnNode as Long

Node number of the ARN being queried.

 

axis As Long

Value of the polar axis with 0 indicating the polar axis in the A-direction and 1 indicating the polar axis in the B-direction.

 

 

 

Remarks

The following example reads an intensity calculation from a file, loads the file into an ARN and then sets the value of the polar axis.

 

arnNode = ARNCreateFromFile( GetDocDir() & "\intensity_file.fgd", "newARN" )

axis = 1

ARNSetPolarAxis arnNode, axis

 

 

See Also

IntensityToFileDAE

All ARN Scripting Commands

 

 

 

 

 

Copyright © Photon Engineering, LLC