hi,

not sure to understand what is your goal, but maybe
node["knob"].setExpression(valueExpression, 0) # for the first row of you
knob
node["knob"].setExpression(valueExpression, 1) # for the second row of you
knob

will help you set expressions to roto curves.


regards.

Aurélyen Daudet - Enseignement & Coordination Pédagogique
adau...@artfx.fr  ---  http://www.artfx.fr  ---  http://blog.artfx.fr


On Wed, Feb 20, 2013 at 4:15 PM, ae.branton <
nuke-python-re...@thefoundry.co.uk> wrote:

> **
> hey, im building a tool to paint weights on how much each CV of a roto
> node moves. Im to the point where i grab a list of CV's get thier position,
> make dummy 2d points at each one, sample the color value underneath and
> store it for use.
>
> now i want to miltiply the color value by its transform, so if it were a
> transform node, basically on translate x,y id have something like
> curve*correspondingCV.red
>
> But im not sure if nuke even allows to set an expression a a CV's
> translate.
>
> any ideas?
>
> _______________________________________________
> Nuke-python mailing list
> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to