Thank you for reply Olivier, no that is not what i am trying to do.

Ben, thanks for a reply, that is closer to my point
your code is giving to me 
<PySide>
(my cursor was on scale field of transform node).
which maybe can be useful if i will know how to convert this line to simple 
field = node['scale']
from here i will be able to play with setValue()/getValue and so on...

What i am trying to do is pretty banally  [Rolling Eyes] 

Example :
CC node, i want to set Gain on frame 3 to value 2.5 but to this frame only, so 
on frame 2 and frame 4 i have to set gain to value 0.

When i am working on heavy script this simple operation is pretty annoying just 
because i need to move from frame to frame to set zero values and it is slow 
(even i i am pausing the viewer)

Code it self is very simple, but it is worth to use it only if all i need to do 
is to set a cursor on certain field, set the value and press shortcut to execute
a command

field = nuke.selectedNode()['scale']             #want to skip
frame = nuke.frame()
field.setAnimated()
field.setValueAt(3,frame)
field.setValueAt(0,frame-1)
field.setValueAt(0,frame+1)



Thanks again for your support
Have a nice day 




 8)  8)  8)  8)  :o



_______________________________________________
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