Re: [Nuke-python] Access knobs on a roto-paint node

2012-07-02 Thread Simon Björk
Hi Ivan, thanks a lot for that reply, very informative. I've played with the code you posted and it works very well for adding keyframes to the rotation parameter layer = curves.toElement("Layer1") t = layer.getTransform() for i in range(1,10): t.addRotationKey(i,0,0,i) curvesKnob.changed()

Re: [Nuke-python] Access knobs on a roto-paint node

2012-07-01 Thread Ivan Busquets
Hi Simon, Because those knobs don't exist per-layer/shape, and just manage the data of the layer(s) depending on the selection, I think you'll be better off just setting the transform data for the layer you're interested in, without interacting with the transform knobs. There's a couple of ways y