I'm not a coder, sorry. Why not just set up a material for it that mimics viewport performance, turn off AA, etc., then let it use the renderer? Edit... here's a script I vaguely remember, Viewport Grabber. Get it here: http://www.scriptspot.com/andrehotz/, also a discussion about it here:…