Hi all,

Has anyone built a LookupCurves_Knob into a Group/Gizmo? You can't create
one through the Manage User Knobs... menu, but it is via python. The
problem is you can't save the script or copy/paste the node without an
error:

Obsolete_Knob ... call is wrong, probably a missing NULL for script
argument.

Here's the creation code:

 nn = nuke.createNode('NoOp', inpanel=True)

kk = nuke.LookupCurves_Knob('', 'curves')

nn.addKnob( kk )

kk.addCurve('mycurve')

Interestingly, if you change inpanel=True to inpanel=False you get a
different result: instead of just mycurve you also get a default curve in
the curve list.

Searching around we've found no working examples... is this just not
possible without a plugin?

thanks
Colin

-- 
colin alway
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to