After doing some digging it seems that you can change the order by using the 
new selectNodes call.  I found an old utility where in previous versions of 
Nuke the artist would copy the backdrop, delete it, and then paste it back.

After 6.3 it looks like we can just use selectNodes() on the backdrop and it 
will pull to the front. Thanks for the help!


cheers,
Brandon L. Harris
________________________________
From: nuke-python-boun...@support.thefoundry.co.uk 
[nuke-python-boun...@support.thefoundry.co.uk] on behalf of Nathan Rusch 
[nathan_ru...@hotmail.com]
Sent: Tuesday, October 15, 2013 10:39 AM
To: Nuke Python discussion
Subject: Re: [Nuke-python] Controlling Backdrops via Python

As far as I know, the only way to control the layering order of backdrops in 
the DAG is to create them in the correct order. I’ve had to deal with this 
myself, and basically just ended up creating the "bottom" one first and then 
resizing it after its contents were all created and laid out.

-Nathan


From: Brandon Harris<mailto:brandon.har...@reelfx.com>
Sent: Tuesday, October 15, 2013 7:07 AM
To: mailto:nuke-python@support.thefoundry.co.uk
Subject: [Nuke-python] Controlling Backdrops via Python

I haven't been able to google my way out of this one so I bring it here.  I 
have a few scenes I'm bringing in in backdrops and I want to create a backdrop 
for all of those nodes and their backdrop.  This is easy to do manually, but 
via code I'm having some trouble.  When I create a new backdrop it ends up 
ontop of the existing backdrops and I am at a loss as how to bring them back to 
the front.

I've tried selecting the backdrops, but that doesn't seem to take.

Thanks in advance for any help!

cheers,
Brandon L. Harris
[www.freebirdsmovie.com]<http://www.freebirdsmovie.com>

________________________________
_______________________________________________
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
[www.freebirdsmovie.com]<http://www.freebirdsmovie.com>
_______________________________________________
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