I have a camera op, CroppedCamera and in the knob_changed I set the film_width and height.
int knob_changed( Knob* k) { float new_aps[2]; new_aps[0] = DD_haperture * oversize.x * crop.x; new_aps[1] = DD_vaperture * oversize.y * crop.y; film_width(new_aps[0]); film_height(new_aps[1]) return 1; } now there's also a python callback that will set some of these knobs. I'm finding that when the values are set in the callback, the c++ knob_changed doesn't get called again. like this: def changed(): if nuke.thisKnob().name() == 'ddformat': # this does NOT trigger a knob_changed! nuke.thisNode()['oversize'].setValue([1.1, 1.1]) nuke.addKnobChanged(changed, nodeClass='CroppedCamera') is there some flag I have to set? I haven't been able to find the documentation for knob flags, and there are a lot of them... thanks in advance! Andrew
_______________________________________________ Nuke-dev mailing list Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev