Just clear the flag

node.knob('qwersadf').clearFlag(nuke.STARTLINE)

and
this will put it back on a new line

node.knob('qwersadf').setFlag(nuke.STARTLINE)

Is this what you are looking for?

Peter.




Pete O'Connell wrote:


---------- Forwarded message ----------
From: *Pete O'Connell* <[email protected] <mailto:[email protected]>>
Date: Thu, Mar 31, 2011 at 8:43 PM
Subject: calling nuke.STARTLINE
To: [email protected] <mailto:[email protected]>


Hi I am adding buttons to a node and was wondering if anyone know of a way to add or remove nuke.STARTLINE from within the interface.
So if I have a Noop node with a few buttons like this:
#######################################
set cut_paste_input [stack 0]
version 6.1 v3
push $cut_paste_input
NoOp {
 name NoOp1
 selected true
 xpos -26516
 ypos 2255
 addUserKnob {20 User}
 addUserKnob {22 qwer +STARTLINE}
 addUserKnob {22 qwersadf +STARTLINE}
 addUserKnob {22 zxcv +STARTLINE}
}
##########################################
How can I remove the STARTLINE from the qwersadf button so that qwer and qwersadf are on the same line?
I would like to do this from within the interface.
I don't wast to use a divider line by the way.

Help
Pete



--
Pete


------------------------------------------------------------------------

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

Reply via email to