Batch Processing Raytraces Using COM

The “Batch-Processing.frs” script demonstrates how to run a sequence of raytraces using FRED’s COM capability. The script is kept generic by retrieving and executing the code in the Embedded Script of each FRED Document that is opened. In this simple example only one document is opened ("run1.frd") but it is shown how to open a sequence of FRED documents one after another.


The FRED Document “run1.frd” provides a simple demonstration of this where a raytrace is performed and Irradiance data is saved before the Document is closed.


Download the FRED Script: Batch-Processing.frs

Download the FRED document: run1.frd

Still need help? Contact Us Contact Us