try Double_)Knob instead of Array_Knob:

b = nuke.nodes.Blur()
k = nuke.Double_Knob( 'test', 'test')
b.addKnob(k)


On Oct 6, 2011, at 2:37 AM, robocop robocop wrote:

> Alloha!
> 
> I have strange issue with adding custom knobs to node via python..
> I just copy\paste this example from nuke GettingStarted :
> 
> http://my.jetscreenshot.com/3685/20111005-xf3v-103kb
> (from here: http://docs.thefoundry.co.uk/nuke/63/pythondevguide/basics.html)
> 
> all fine.. but if i save and reopen my comp (or just copy\paste created blur 
> node to new comp) - my custom knob is gone! 
> 
> its normal behaviour ? 
> and what can i do in this case to create custom float number knob on tool ?
> 
> thanx.
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

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

Reply via email to