If by rv session you mean playing what it got render, then it should be easy.
dont have nuke nor python in front of me, but it should be something like this:
main scrip that launches the image sequence in rv
#rvafterRender.py
import nuke
import subprocess as sub
def rvthis(clip):
rv = '/path/to/rv'
rvflags = '-play -ns' #add non clip rv flags here, display luts, etc
clipflags ='-flielut' #add clip flags, file luts, etc
cmd = '%s %s [%s %s]' % (rv, rvflags, clip,clipflags)
sub.Popen(cmd, shell = True)
The on your menu.py
from rvafterRender import rvthis
Then on "after render" callback
rvthis(nuke.thisNode()['file'].value())
later will check if all this is true
________________________________
From: Misho Ristov <[email protected]>
To: Nuke user discussion <[email protected]>
Sent: Friday, September 23, 2011 1:20 PM
Subject: [Nuke-users] make an rv session on render end
Hi,
I'm trying to make an "after render" script that will create a rv session file
with all the write nodes as a sequence.
Any start suggestions?
Misho
-- ___________________________
Misho Ristov
VFX Supervisor
FX3X
www.fx3x.com
Jane Sandanski 108/28
1000 Skopje, Macedonia
cell +38970385680
office +38925511901
fax +38925511902
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users