Navigation: Scripting Reference Manual > Functions & Subroutines > SetSourceDirPositionGrid

 

SetSourceDirPositionGrid

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the ray direction data for a source with a rectilinear grid point ray direction type.

 

Syntax

SetSourceDirPositionGrid n, grid

 

Parameters

n As Long

Node number of the source.

 

grid As T_SOURCEDIRPOSITIONGRID

Structure containing the new data for the rectilinear grid point ray direction.

 

Remarks

This subroutine sets the ray direction data for a source with a rectilinear grid point ray direction type.  Each ray position will generate multiple rays, one ray through each of the direction grid points. If there is a problem the subroutine returns without setting an error or modifying the source.

 

See Also

T_SOURCEDIRPOSITIONGRID

GetSourceDirPositionGrid

IsSourceDirPositionGrid

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC