Hi Frank. Sorry I have not responded to you, I got pulled onto another project. Thanks for you help that worked great, just what I needed.
dennis -----Original Message----- >From: Frank Rueter <[email protected]> >Sent: Aug 23, 2012 4:38 PM >To: [email protected] >Subject: Re: [Nuke-users] switch node selections in a gizmo help > >sorry, actually, you can just use "parent.myPullDown" (without the >quotes) like this: > >set cut_paste_input [stack 0] >version 6.3 v8 >Group { > inputs 0 > name Group1 > selected true > xpos -39 > ypos -177 > addUserKnob {20 User} > addUserKnob {4 myPullDown M {A B C D}} >} > Noise { > inputs 0 > center {1024 778} > name Noise1 > xpos 327 > ypos -70 > } > ColorWheel { > inputs 0 > gamma 0.45 > name ColorWheel1 > xpos 218 > ypos -115 > } > ColorBars { > inputs 0 > name ColorBars1 > xpos 80 > ypos -117 > } > CheckerBoard2 { > inputs 0 > name CheckerBoard1 > xpos -43 > ypos -110 > } > Switch { > inputs 4 > which {{parent.myPullDown}} > name Switch1 > xpos 73 > ypos 5 > } > Output { > name Output1 > xpos 73 > ypos 87 > } >end_group > > > > >On 24/08/12 1:31 AM, dennis wrote: >> Thank you Frank for the help. >> I see the expression arrows change on the switch node, but I don't see the >> switch node it's self >> move from 0 to 3. What am I missing? >> >> thanks, >> >> dennis >> >> -----Original Message----- >>> From: Frank Rueter <[email protected]> >>> Sent: Aug 21, 2012 5:32 PM >>> To: [email protected] >>> Subject: Re: [Nuke-users] switch node selections in a gizmo help >>> >>> yes, use a pulldown menu. >>> In the Switch node you just need to do something like: >>> [value parent.myPullDown] >>> This will return the current index of the pulldown menu and thus drive >>> the Switch node >>> >>> On 22/08/12 10:19 AM, dennis wrote: >>>> Hello all. >>>> >>>> I created gizmo that has 4 color corrects inside. On the use tab, I need >>>> the user >>>> to click on a button and have it switch from one to the other based on >>>> their choice. >>>> >>>> I first setup check boxes but this did not seem to be the answer as >>>> several can be checked at once. >>>> Would be better and easier to a pull down choice? >>>> >>>> What would be simple code to add to make this work? >>>> >>>> Thanks for any input that someone might have. >>>> >>>> dennis >>>> _______________________________________________ >>>> 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 >> _______________________________________________ >> 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 _______________________________________________ Nuke-users mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
