Carl, FYI — Just doing some experimentation and you can use also use .setFlag(True)… which makes a bit more sense to me. 8^)
Rich On Oct 10, 2014, at 4:58 PM, Richard Bobo <[email protected]> wrote: > > On Oct 10, 2014, at 4:38 PM, Carl Schröter <[email protected]> wrote: > >> Hi Rick, >> >> I’m not in front of nuke right now, but it should be enough to do: >> >> nuke.selectedNode()[‘knob’].setFlag(0) >> >> on a knob with is part of the tab you want to show. > > Wow - awesome!! Thanks, Carl! > > Rich > > >> >> Cheers, >> Carl >> >> >> >> Von: [email protected] >> [mailto:[email protected]] Im Auftrag von Richard >> Bobo >> Gesendet: Freitag, 10. Oktober 2014 22:25 >> An: Nuke Python discussion; Nuke-Users Mailing List >> Betreff: [Nuke-users] Cross-Post: Any Pythonic way to select a node's tab >> and make it active? >> >> Hi, >> >> Sorry for the cross-post, but I am hoping to find someone who might have the >> definitive answer for this… >> >> Is there a way in Python to select/make active/make current a particular tab >> on a node…? When I create a new node with a custom tab on it, then show the >> panel, I want the custom tab to be the one that is currently selected. If I >> get the Tab_Knob object I created and look through the available methods, I >> can’t seem to find one that will do it. None of the Flags seem to be what >> I’m looking for. I know this question has been asked before (by me and a few >> others)… Is there no way to do it? >> >> Thanks! >> Rich >> >> >> Rich Bobo >> Senior VFX Compositor >> Armstrong White >> Email: [email protected] >> http://armstrong-white.com/ >> >> Email: [email protected] >> Mobile: (248) 840-2665 >> Web: http://richbobo.com/ >> >> "First say to yourself what you would be; and then do what you have to do." >> - Epictetus (55-135 AD) Roman Philosopher >> >> >> >> >> >> _______________________________________________ >> 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
