17 lines
		
	
	
		
			491 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			491 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from lnx.logicnode.lnx_nodes import *
 | |
| 
 | |
| class GetGroupNode(LnxLogicTreeNode):
 | |
|     """Searches for a collection of objects with the given name and
 | |
|     outputs the collection's objects as an array, if found.
 | |
| 
 | |
|     @seeNode Collection"""
 | |
|     bl_idname = 'LNGetGroupNode'
 | |
|     bl_label = 'Get Collection'
 | |
|     lnx_section = 'collection'
 | |
|     lnx_version = 1
 | |
| 
 | |
|     def lnx_init(self, context):
 | |
|         self.add_input('LnxStringSocket', 'Name')
 | |
| 
 | |
|         self.add_output('LnxNodeSocketArray', 'Objects')
 |