The problem is most likely the context of witch your pyscript is run.
When its on the node, it runs on root. When you make the group, it runs
in context of the group

ex: print nuke.allNodes()

on a node it will print all nodes in the node graph. But once in a group
it will print what inside the group. So you probably need to change a
bit your code to run in context of root

On Fri, Dec 7, 2012, at 14:42, olivier...@moving-picture.com wrote:
> Hiya,
> 
> is there a 'straight forward' way to create a gizmo from a simple Node 
> without going to do it again on a group or rewrite it on python ?
> 
> I used a NoOp node to create a few pyScripts, all fine. But i need to 
> share it now, and ToolSet is not an option.
> I quicly recreated it on a Group node to have the gizmo export option, 
> but strangely none of my buttons are working in this group node.
> Now my only option is to create a python script that recreate the node. 
> I can do it but it takes time and i don't really want to spend time 
> doing that when the node was doing a good job.
> 
> So can we create a gizmo out of a simple node we modified (with no 
> export gizmo option)
> If not, why can't we ???!!
> 
> cheers
> Olivier
> _______________________________________________
> 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


-- 
  Hugo Léveillé
  TD Compositing, Vision Globale
  hu...@fastmail.net

_______________________________________________
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

Reply via email to