Just to add to this:
I thought it would be creating the knob, then querying it and setting
the flag. but it does not work
knob_f = nuke.Boolean_Knob('test')
knob_f.setFlag(nuke.STARTLINE)
On 6/17/2011 1:25 PM, Igor Majdandzic wrote:
Hey guys,
I want to create some knobs on a NoOp, and I cannot figure out how to
add divider lines as well as to start a new line. I recognized the
setFlag command but don't know how to use it.
I appreciate any hint.
Here's the code:
node = nuke.createNode('NoOp')
knob_MB = nuke.Boolean_Knob('motionblur', None,1)
knob_samples = nuke.Int_Knob('samples', None, 5)
knob_furnace = nuke.Boolean_Knob('furnace', 'furnace nodes',1)
node.addKnob(knob_MB)
node.addKnob(knob_samples)
node.addKnob(knob_furnace)
Igor
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python