Hey Darren,

Take a look at this snippet. I think it does what you want.

Cheers
Bruno


#####################################

group = nuke.toNode('Group1')


group.begin() # Enter the group


bd = nuke.toNode('BackdropNode1')

colorPicker = nuke.Color_Knob('position','Position') # Create a color picker

bd.addKnob(colorPicker) # Add the color picker


link = nuke.Link_Knob( 'linkedSizeKnob' )

link.makeLink('BackdropNode1','position') # Make a link of the color picker


group.end() # Exit group


group.addKnob(link) # Add link knob to group node (similar to pick knob in
Manage User Knob)


On Thu, Mar 16, 2017 at 6:16 PM, Darren Coombes <darren.coom...@me.com>
wrote:

> Say i have a node ContactSheet1, and its inside a group called Group1.
> In the Group1 Panel, i want to pick the following knobs from
> ContactSheet1, simililair to how you do it when making a gizmo, but the
> knobs would be added on node creation through python?
>
> rows
> columns
> width
> height
>
> Thanks.
>
> *Check out some of my work…*
> *www.vimeo.com/darrencoombes/reel2017*
> <http://www.vimeo.com/darrencoombes/reel2017>
>
> *Mob:  **+61 418 631 079* <+61%20418%20631%20079>
> *IMDB: www.imdb.com/name/nm3719099/ <http://www.imdb.com/name/nm3719099/>*
> *Instagram: @7secondstoblack*
> *Instagram: @durwood0781*
> *Skype:  darren.coombes81*
> *Twitter:  @durwood81*
>
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>



-- 
Bruno-Pierre Jobin
_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to