I won't be near Nuke for a couple more days still, but have you tried setting 
your script context to the non-root group before calling the "copy to group" 
command? Or if using nuke.tcl, try "in <group> {copy_gizmo_to_group 
child_group}" (sorry for issues, typing from memory).

-Nathan

On Jul 12, 2013, at 6:45 PM, "Dennis Serras" <[email protected]> wrote:

> Hey all, anyone know how to get the current DAG you’re in? I there’s 
> tabClose() and tabNext(), but I need to do something like
>  
> if <currentTab> == <group name>:
>             <currentTab>.tabClose()
>  
> What I really need to do is convert gizmos to groups inside other groups, 
> which will move the gizmo outside the group unless you’re in the root DAG. 
> Unfortunately, just using showDag(nuke.root()) doesn’t solve it. I think I 
> need to close it.
>  
> Thanks!
> 
> den serras
>    @ 
>      senior technical artist  | stereo D | deluxe 3D
>  
> 
> This e-mail and any attachments are intended only for use by the addressee(s) 
> named herein and may contain confidential information. If you are not the 
> intended recipient of this e-mail, you are hereby notified any dissemination, 
> distribution or copying of this email and any attachments is strictly 
> prohibited. If you receive this email in error, please immediately notify the 
> sender by return email and permanently delete the original, any copy and any 
> printout thereof. The integrity and security of e-mail cannot be guaranteed.
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to