Hello,
When you use the Shade Calculator to generate shade data from the scene you draw, SAM stores the data in the
variable, where
is the subarray number. From an LK script in SAM, you can read the the shading data, but not the scene itself.
The Shade Calculator has a separate LK script environment where you can draw the scene using a script. To use that feature, open the Shade Calculator and click
Scripting. We've posted an example of an LK script for the Shade Calculator in the LK Cookbook here
sam.nrel.gov/samples.
I'd be happy to look at your file if you want to
email it to me
. If you do, please include both a .sam file and .s3d file. (Export the .s3d file from the Shade Calculator window.)
Best regards,
Paul.