Thanks Den! That sounds interesting; I’ll give it a try. ...Even if I don’t 
don’t use it for this particular case, I’ll keep it in my bag of tricks!  ;^)

Rich




> On Sep 22, 2015, at 7:28 PM, Den Serras <[email protected]> wrote:
> 
> I have a hacky trick for this. I search through all nodes with 
> recurseGroups=True, then look for node.isSelected() and get the 
> nose.fullName(). With that, you can nuke.toNode("full name") and even split 
> the name and go to the groups themselves. It will give you false positives if 
> you have other nodes selected, so you can run a setSelected(False) on all 
> nodes before selecting the one you want.
> 
> Den
> 
> 
> 
> 
> 
> On Tue, Sep 22, 2015 at 4:00 PM -0700, "Igor Majdandzic" 
> <[email protected] <mailto:[email protected]>> wrote:
> 
> Select the group in root dag
> n = nuke.selectedNode()
> n.begin()
> node  = nuke.selectednode()
> n.end()
> 
> Cheers
> 
> Am 23.09.2015 12:07 vorm. schrieb Rich Bobo :
> >
> > Hi,
> >
> > OK, I’ve tried, butI can’t figure this out…
> >
> > I am inside a Group and looking at its DAG. I have a node selected. How do 
> > I get that node object?
> >
> > How do I get the scope for the current Group’s DAG…??  (8^\
> >
> > Thanks for any help!
> >
> > 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/
> >
> _______________________________________________
> 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