for example
I have a roto node .It has 10 bezier line.
I just want to copy the selected lines to a new roto node. how to write Script?
now i have a Script this script just copy all bezier line to the new roto node. How to optimize this Script?
Script
rL = nuke.selectedNode()["curves"].rootLayerfor i in rL:
n = nuke.createNode("Roto")
n["curves"].rootLayer.append(i)
usage selected roto node. Running this script. (There are a few bezier line in this roto node)







