forked from LeenkxTeam/LNXSDK
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			462 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			462 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from lnx.logicnode.lnx_nodes import *
 | 
						|
 | 
						|
class ArrayDistinctNode(LnxLogicTreeNode):
 | 
						|
    """Returns the Distinct and Duplicated items of the given array."""
 | 
						|
    bl_idname = 'LNArrayDistinctNode'
 | 
						|
    bl_label = 'Array Distinct'
 | 
						|
    lnx_version = 1
 | 
						|
    
 | 
						|
    def lnx_init(self, context):
 | 
						|
        self.add_input('LnxNodeSocketArray', 'Array')
 | 
						|
       
 | 
						|
        self.add_output('LnxNodeSocketArray', 'Distinct')
 | 
						|
        self.add_output('LnxNodeSocketArray', 'Duplicated')
 |