Navigation: Scripting Reference Manual > Functions & Subroutines > GetSourceMaterial

 

GetSourceMaterial

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the immersion material for a particular source.

 

Syntax

mat = GetSourceMaterial ( n )

 

Parameters

mat (Long)

Returns the identifier of the material the source is immersed in.

 

n As Long

Node number of the source.

 

Remarks

This function retrieves the immersion material for a particular source. If there is a problem the function returns 0 and does not set an error.

 

See Also

SetSourceMaterial

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC