Nathan, Thanks for the reply! So, I am going with plan B, which is to add my custom knobs and controls to a nuke control panel… Much simpler. One question I have, though... I know how to create a new tab and call it whatever I want (instead of the “User” default name) and add my knobs there. But, what I *really* would like to do is add my custom knobs to one of the existing tabs. In this case, I’m using a Write node control panel, so I’d ideally want to add the controls at the bottom of the “Write” tab. How do I select that tab…? I know there’s a hotkey in Nuke for selecting the next tab in a control panel, so I’m guessing there has to be a command or knob flag that will do that, right? 8^)
Thanks, Rich On Oct 9, 2014, at 11:25 PM, Nathan Rusch <nathan_ru...@hotmail.com> wrote: > There isn't a formal way of doing this right now. Nuke's whole UI is built in > Qt, which is written in C++; there isn't really a way of going from Nuke's > Python API types to base PySide types (or even really getting at a lot of the > UI elements in an easy way). If you were patient enough, you could walk your > way through the whole application and do just about anything with/to it, but > I wouldn't wish that on anyone. You might be able to pull off what you're > trying to do that way, but I haven't ever tried. > > You could do a sort of poor impression of it by creating a bunch of Link_Knob > instances pointing at all the knobs on your node, but it would likely have > some quirks. It would be cool if nodes had a method to return the top-level > widget of their control panel as a PySide QWidget though... > > -Nathan > > > From: Richard Bobo > Sent: Thursday, October 09, 2014 7:35 PM > To: Nuke Python discussion > Subject: [Nuke-python] Can a Nuke node be embedded in a PythonPanel...? > > Hi, > > Maybe a bit of a odd question but, has anyone embedded a nuke node control > panel in a custom PythonPanel? I have some understanding from explanations by > Nathan that PythonPanels are built on PySide QtWidgets. I’m assuming that > Nuke’s control panels are Qt-based, too. So, it *seems* like it could be > possible. But, maybe not… My other option, I guess, would be to add custom > knobs to a nuke node control panel, since that is supported. Anyway, I was > wondering if it’s ever been done the other way around…? > > Rich > > Rich Bobo > Senior VFX Compositor > Armstrong White > Email: rich.b...@armstrong-white.com > http://armstrong-white.com/ > > Email: richb...@mac.com > Mobile: (248) 840-2665 > Web: http://richbobo.com/ > > “Many of the great achievements of the world were accomplished by tired and > discouraged men who kept on working.” > - Unknown > > > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python