I have a gizmo (and it has to stay a gizmo, can’t just use a NoOp), and it need to have a button that can do simple node creation in it, for example.
A decent example is shake’s nodes always had an option to generate a matte from the node, which connected into the mask input. Click rotoshape, it would create one and connect to the proper input.
I tried creating a python button on my gizmo, but it operates the creation of the (say, Bezier) on group level, and not root.
I need to have a button that can create nodes
nuke.createNode('Bezier', inpanel=False)
, for example. Works fine root in script editor, but when implemented as a button on the group, works on group level and all outputs are inside the group.
Simply put, or tl;dr, I need to be able to create nodes on root level with group level buttons.
Thanks so much in advance for any help.:rollbaby:
Post a Comment