// get accessor Object rtn = Renderer.OutputFormats; |
var oMentalRay = Application.Renderers( "mental ray" ) var oFormats = new VBArray( oMentalRay.OutputFormats ).toArray(); var aFormatList = new Array( ); for( var i = 0; i < oFormats.length; i += 2 ) aFormatList.push( oFormats[ i ] + " (\"" + oFormats[ i + 1 ] + "\")" ); LogMessage( " Provided output formats: " + aFormatList.join( ", " ) ); |