chaneditor

scope_timedependent_container()

Search all the nodes in the actual container and scope all animated parameters in the Animation Editor
My global hotkey: Alt-A

source code

the following code is maintained also on my github
thank you, great people, I couldn't do this without you.

import hou
import wf_selection

def scope_timedependent_container () :
    container = wf_selection.container()
    nodes = container.allSubChildren()
    for node in nodes:
        if not node.isInsideLockedHDA():
            parms = node.parms()
            for parm in parms:
                if parm.isTimeDependent():
                    parm.setScope(1)