Description Alternate form of ScalarFieldToFile. Computes the scalar field using an Analysis Surface and writes the result either to a file or the Chart Viewer. 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 count = ScalarFieldToFileAS( anaNode, fname )
Parameters count (Long or Huge_) Number of rays included in the analysis.
anaNode As Long Node number of Analysis Surface. All Ray Specifications are applied.
fname As String File name where plot file is to be saved. If string is empty, results are routed directly to Chart.
Remarks Computes the scalar field using an Analysis Surface and its Ray Specification filters. The result is written to either a plot file or directly to the Chart Viewer
Multiple wavelengths When a coherent field calculation encounters multiple wavelengths, the calculation will proceed using only the first wavelength which satisfies the ray filter criteria. A warning dialog will be displayed which provides the wavelength range and the value used in the calculation (to 7 significant digits). All other wavelengths are ignored.
See Also
|