Hey gang,
I've been asked to put together a script that will take existing Roto or
RotoPaint nodes that were done before the creation of stereo views, and
update them to be in both new views. I figured this wouldn't be so hard,
but nothing i've tried has worked. The docs on interfacing with these nodes
is practically non-existent it seems.
I've tried modifyi/gadding attributes for views to the shapes, but nothing
i've tried has had any effect and I feel like i'm sort of stabbing in the
dark. Anyone done this, or have an idea how it would work?
Going off memory as i'm at home right now, but I tried something like:
n = nuke.toNode('Roto1')
root = n['curves'].rootLayer
for shape in root:
shape.getAttributes().add('view2', 2)
I've tried various variations on that as well as using setValue, with no
luck. Any help would be appreciated.
- John Vanderbeck
- http://www.johnvanderbeck.com
_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python