Thanks again Dave.
Interestingly, this new script gives VERY different results. Not just in the ouput location but also details of components. All very welcome - except in one area. I re-aligned my axes to draw an assembly at 18 degrees from vertical. The original reports the components of this assembly with the correct dimensions relative to these re-aligned axes. The new one reports the dimensions against the standard axes.
eg:-
Part # Description Copies Thick Width Length
19 Side of Plane Tray 2 15.00mm 24.00mm 585.00mm
Part # Description Width(X) Depth(Y) Height(Z) Layer
17-1 Side of Plane Tray 15.00mm ~ 199.50mm ~ 564.95mm Plane tray
17-2 Side of Plane Tray 15.00mm ~ 199.50mm ~ 564.95mm Plane tray