def clear_properties():
    """Closes all open properties bin, like the existing ctrl+shift+a
    shortcut in the properties, but available from anywhere (in
    node-graph etc)
    """
    for n in nuke.allNodes() + [nuke.root(), ]:
        n.hideControlPanel()


nuke.menu("Nuke").addCommand("Edit/Node/Close all properties", clear_properties, "ctrl+shift+a")



On 16/04/13 11:22, Martin Constabe wrote:
I am sure that there is a simple solution to this issue… but..,.

I have recently taken to working without the Properties bin and with the Viewer 
floating free. I find that this way of working gives me as much DAG work space 
as possible and is very suitable for my needs.

When I access a node's properties, they of course open up in new panels. 
However, I end up with many floating properties panels I have to then close 
manually after use. The Properties Bin keystroke for closing properties panels 
does not work outside of the properties bin. Is there any way I can close them 
as a batch? Or even… set a limit for how many there should be open at any one 
time?

Thanks in advance


Martin_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

--
ben dickson
2D TD | [email protected]
rising sun pictures | www.rsp.com.au
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to