Export active viewport to picture

 From:  coi (MARCO)
6111.3 In reply to 6111.2 
hi there!

you could use these scripts:

CaptureViewToClipboard

this renders a larger image of the active viewport and copy it to the clipboard; you can possibly adjust the resolution and the line width
code:
script:var v = moi.ui.getActiveViewport(); if ( v != null ) { moi.view.lineWidth = 4; v.renderToClipboard( 2560, 2560 ); moi.view.lineWidth = 1; }


you can set a whole lot of options there, like line width, resolution or lighting style..

http://moi3d.com/forum/index.php?webtag=MOI&msg=1049.31


CaptureScreenToFile

you can use this script to save a screenshot out to an image file by using a shortcut key, without needing to run any other program.
code:
script:var img = moi.view.screenshot( 'viewpanel', false ); var name = img.getSaveFileName(); if ( name != '' ) img.save( name );


~marco