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], 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

Reply via email to