Navigation: Scripting Reference Manual > Functions & Subroutines > GetSourcePosFuncType

 

GetSourcePosFuncType

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the type of ray position specification in the specified source.

 

Syntax

posType = GetSourcePosFuncType ( n )

 

Parameters

posType (String)

Returns the type of ray position.

 

n As Long

Node number of the source.

 

Remarks

This function retrieves the type of ray position. If there is a problem the function does not set an error and returns an empty string.

 

Ray Position Type

posType ( string )

Grid Plane

SRCPosGridPlane

Random Plane

SRCPosGridRandom

Random Volume

SRCPosRanSimpleVolume

Random String

SRCPosCharacterRandom

Random Surface

SRCPosSurface

Read rays from file and generate dynamically

SRCPosImported

Hex

SRCPosGridHex

Bitmap

SRCPosBitmap

User-defined rays (manually defined)

SRCPosGeneral

 

 

See Also

GetSourceDirFuncType

GetSourceDirApodFuncType

GetSourcePosApodFuncType

Examples

Sources

 

 

 

 

 

 

Copyright © Photon Engineering, LLC