Hi,
I so have a very simple Question, but am a bit stuck here.
basically, what I want to do, is changing the lifetime_type attribute of all
strokes within the selected RotoPaint Nodes.
Getting this to work on Multiple nodes is easy, changing it for the first
stroke of each is working, but I seem not to be able to cycle through them.
as test setup to get it working with multiple strokes in one node I have this:
paint = nuke.selectedNode()
cpaint= paint['curves']
root = cpaint.rootLayer
for s in root:
s['lifetime_type'].setValue('all')
This is obviously not working. Could anyone please correct it so it is working
with all strokes in the node?
thanks
Thomas
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python