The LightTools JumpStart library provides added functionality such as use of a wild card (*) capability to manipulate multiple data items at once. It also provides a large number of functions for various tasks. The latest addition to the JumpStart library includes functions to manipulate Optical Properties. Examples of JumpStart functions can be found in the following location in your LightTools installation folder:
C:\Program Files\Optical Research Associates\LightTools 8.4.0\JumpStart Macros\Sample Code\
Use the JSSampleCode.xls to test the sample code.
You will often find that it is more convenient (and sometimes necessary) to use a combination of core macro functions and JumpStart library functions in order to write your macro more efficiently. The following example shows how to generate a wavelength-dependent diffuse reflective surface (i.e., color) using the Angle of Incidence scatter model.
The spectral reflectance of the diffuse surface and the corresponding color are shown below: