Description Performs an irradiance calculation and places the results into an ARN. Depending on the number of rays traced, it may be necessary to dimension ray index and ray counter variables as data type Huge_ instead of Long. Please see Multi-threaded Raytracing for more information.
Syntax numRays = IrradianceToARN( anaNode, arnName, arnNode )
Parameters numRays (Long or Huge_) Number of rays included in the calculation
anaNode As Long Node number of the analysis surface used in the calculation. The analysis surface's ray filters are applied.
arnName As String Name of the ARN being created.
arnNode As Long Node number of the newly created ARN. Returned by the function.
Remarks The following example performs an irradiance calculation on an existing rayset and stores the results in an ARN.
Dim anaNode As Long Dim arnNode As Long Dim numRays As Long
anaNode = FindFullName( "Analysis Surface(s).Analysis 1" )
numRays = IrradianceToARN( anaNode, "testARN", arnNode )
See Also
|