Navigation: Scripting Reference Manual > Functions & Subroutines > GetSourcePosGridHex

 

GetSourcePosGridHex

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the data from a source with a Hexagonal Plane ray position type.

 

Syntax

success = GetSourcePosGridHex ( n, cellSemiWidth, semiWidthX, semiWidthY, isEllipse )

 

Parameters

success (Boolean)

Indicates if the function succeeded (True) or failed (False).

 

n As Long

Node number of the source.

 

cellSemiWidth As Double

Returns the semi-aperture of one hexagonal cell.

 

semiWidthX As Double

Returns the X outer semi-aperture.

 

semiWidthY As Double

Returns the Y outer semi-aperture.

 

isEllipse As Boolean

Returns the aperture shape. Set by FRED to True for elliptical apertures, False for rectangular ones.

 

Remarks

This function retrieves the data from a source with a Hexagonal Plane ray position type. If there is a problem the function returns False and does not set an error.

 

See Also

IsSourcePosGridHex

SetSourcePosGridHex

Examples

Sources

 

 

 

 

 

 

Copyright © Photon Engineering, LLC