25 lines
		
	
	
		
			691 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			25 lines
		
	
	
		
			691 B
		
	
	
	
		
			Python
		
	
	
	
	
	
|  | from lnx.logicnode.lnx_nodes import * | ||
|  | 
 | ||
|  | class CreateLeenkxNode(LnxLogicTreeNode): | ||
|  |     """Create Leenkx""" | ||
|  |     bl_idname = 'LNCreateLeenkxNode' | ||
|  |     bl_label = 'Create Leenkx' | ||
|  |     bl_description = 'Create Leenkx' | ||
|  |     lnx_category = 'Leenkx' | ||
|  |     lnx_version = 1 | ||
|  | 
 | ||
|  | 
 | ||
|  |     def lnx_init(self, context): | ||
|  |         self.add_input('LnxNodeSocketAction', 'In') | ||
|  |         self.add_input('LnxStringSocket', 'Url', default_value="8001") | ||
|  | 
 | ||
|  |         self.add_output('LnxNodeSocketAction', 'Out') | ||
|  |         self.add_output('LnxDynamicSocket', 'Connection') | ||
|  |         self.add_output('LnxDynamicSocket', 'ID') | ||
|  | 
 | ||
|  | 
 | ||
|  | def register(): | ||
|  |     add_category('Leenkx', icon='ORIENTATION_CURSOR') | ||
|  |     CreateLeenkxNode.on_register() | ||
|  | 
 | ||
|  |      |