Navigation: Scripting Reference Manual > Functions & Subroutines > IsSourceDirection

 

IsSourceDirection

 

Contact Us: fredsupport@photonengr.com

 

Description

Determines if a given source has a "Single direction (plane wave)" ray direction type.

 

Syntax

oneDir = IsSourceDirection ( n )

 

Parameters

oneDir (Boolean)

Indicates if the source has a single direction ray direction type (True) or not (False).

 

n As Long

Node number of the source.

 

Remarks

This function determines if a given source has a "Single direction (plane wave)" ray direction type. If there is a problem the function returns False and does not set an error.

 

See Also

GetSourceDirection

SetSourceDirection

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC