Getting roto shapes name
Getting roto shapes name gettingRotoNames.py script will print all the "Roto" shapes and "Layers" name in all the Roto nodes. This script goes down 4 child layers deep and get all the shapes and layers. If want to go further you can add some more by editing this code. def gettingRotoNames(): for rpNode in nuke.allNodes('Roto'): cKnob= rpNode['curves'] root = cKnob.rootLayer print '\n' + root.name for e in cKnob.rootLayer: print ' - ' + e.name if isinstance(e, nuke.rotopaint.Shape): pass ...