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

Transparent Background? -ViewCaptureToFile

$
0
0

Hello, I am working on a python script that is supposed to make a image for the current view, then hide the current layer, show the next layer and repeat. I was having difficulty with the Rhino.Command(-_Print) and had read that it had known bugs, so the only resources I could find were for the Rhino.Command(-_ViewCaptureToFile). The script seems to be working as intended, the view capture file is accepting my naming convention and going into the right path, but the background is grey and I can’t seem to get the command to accept an input that would change its value. Does anyone know how I can implement Transparent backgrounds, or an alternative method of saving my images to a folder for printing?

The current code I am using for the ViewCaptureToFile is:
“rs.Command(’-_ViewCaptureToFile ‘+chr(34)+Result+i+’.png’+chr(34)+’ _Enter’)”

Thank you to everyone in advance!!

10 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 5866

Trending Articles