from lnx.logicnode.lnx_nodes import * class AnimationNode(LnxLogicTreeNode): """Returns the actions list of the given object.""" bl_idname = 'LNAnimationNode' bl_label = 'Get Actions' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketObject', 'Object') self.add_output('LnxNodeSocketArray', 'Actions', is_var=False) self.add_output('LnxIntSocket', 'Length')