def selectOnly(node): for x in nuke.selectedNodes(): x.setSelected(False) node.setSelected(True)
On 10/11/16 06:42, Daniel Hartlehnert wrote:
Hi, is there an alternative for nuke.node.selectOnly() in older versions of Nuke? I found it doesn't work in Nuke6 for example but it works in Nuke10. Cheers, Daniel _______________________________________________ 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
-- ben dickson 2D TD | ben.dick...@rsp.com.au rising sun pictures | www.rsp.com.au _______________________________________________ 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