Save as script_screenshot with White background

 From:  Michael Gibson
9643.5 In reply to 9643.4 
Hi phlatt5th, so to modify that script to make a white background you would insert this just before the call to vp.render() :

code:
var prev_background = moi.view.viewportBackgroundColor;
moi.view.viewportBackgroundColor = 0xFFFFFF;


So what that should do is save the current background color to a variable "prev_background" and then set the background color to white.

Then after the call to vp.render() put in this:

code:
 moi.view.viewportBackgroundColor = prev_background;


That should restore it after the image is generated.

- Michael