ah, sweet, even easier.
thanks
On 12/07/12 10:46 PM, Pierluigi Garaventa wrote:
Hi Frank,
the FrameRanges python class use space as separator.
So you can more easily do in this way
ranges = nuke.FrameRanges( '2563-2564 2592-2593 2595 2600-2601
2606-2607 2609-2610')
w = nuke.toNode('Write1')
nuke.render(w, ranges)
Cheers,
Pierluigi
On Wed, Jul 11, 2012 at 12:27 AM, Frank Rueter <[email protected]
<mailto:[email protected]>> wrote:
not sure about that knob but you can use the awesome FrameRange
objects:
rangeString = '2563-2564, 2592-2593, 2595, 2600-2601, 2606-2607,
2609-2610'
ranges = nuke.FrameRanges()
for s in rangeString.split(', '):
fr = nuke.FrameRange(s)
ranges.add(fr)
w = nuke.toNode('Write1')
nuke.render(w, ranges)
On 11/07/12 2:59 AM, dennis wrote:
I have made a script that creates write nodes.
It looks like the the "frame_range_string" is a hidden knob.
Manually get to this by clicking on "Render", choose "custom" and then
enter the frames in the field.
I need to put my frame range into that to render only the selected frames
with Python.
Example:
2563-2564, 2592-2593, 2595, 2600-2601, 2606-2607, 2609-2610
In python, how do I access that knob to add the frame range example?
Any help would be greatly appreciated.
thx,
dennis
_______________________________________________
Nuke-users mailing list
[email protected]
<mailto:[email protected]>,http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected]
<mailto:[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
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users