14 lines
		
	
	
		
			404 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			404 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from lnx.logicnode.lnx_nodes import *
 | 
						|
 | 
						|
class GetChildrenNode(LnxLogicTreeNode):
 | 
						|
    """Returns the children of the given object."""
 | 
						|
    bl_idname = 'LNGetChildrenNode'
 | 
						|
    bl_label = 'Get Object Children'
 | 
						|
    lnx_section = 'relations'
 | 
						|
    lnx_version = 1
 | 
						|
 | 
						|
    def lnx_init(self, context):
 | 
						|
        self.add_input('LnxNodeSocketObject', 'Parent')
 | 
						|
 | 
						|
        self.add_output('LnxNodeSocketArray', 'Children')
 |