Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

SaveRenderWindowAs question

$
0
0

@juancarreras wrote:

I have a script that after doing certain operations issues a render command and saves the image to disk.
The code to do that is:

import rhinoscriptsyntax as rs
... code
... more code
rs.Command("!_Render", echo=False)
rs.Command("-_SaveRenderWindowAs " + filename, echo=False)

I'm rendering with vray. The script works fine but it saves all the active channels selected in my VFB vray options tab as separate files.
I would like to save only the RGB result as if I was saving directly from the VFB with the 'save image' toolbar icon not the 'save all image channels' button.
Is there a different command other than -_SaveRenderWindowAs to save to disk only the RGB channel without having to disable the selected channels first?

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles