s= nuke.selectedNode()
...do stuff ...
s.setSelected(True)
if you want to reselect a list of node you just need a loop
s = nuke.selectedNodes()
....
for n in s:
n.setSelected(True)
On Fri, Jul 27, 2012, at 11:05, ae.branton wrote:
Disregard the first question... was just bad syntaxing because im
tired.
The second though, for reselecting nodes would be a great help!
_______________________________________________
Nuke-python mailing list
[1][email protected],
[2]http://forums.thefoundry.co.uk/
[3]http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-
python
References
1. mailto:[email protected]
2. http://forums.thefoundry.co.uk/
3. http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
Hugo Léveillé
TD Compositing, Vision Globale
[email protected]
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python