Hi,

i am adding knobs to a noop that i create with python. In the Nuke user 
interface, when i do "Manage user knobs", i have the option to "start new line" 
for every knob i add.

How can i add this option when doing it in python?

I have:

n = nuke.createNode('NoOp')
iformatknob = nuke.Format_Knob('iformatknob', 'Input Format')
oformatknob = nuke.Format_Knob('oformatknob', 'Output Format')
goknob = nuke.PyScript_Knob('creatert', 'Create ReTransform')

n.addKnob(iformatknob)
n.addKnob(oformatknob)
n.addKnob(goknob)

The PyScript_Knob appears on the same line as the oformatknob.

Daniel_______________________________________________
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