LNXSDK/leenkx/blender/lnx/logicnode/custom/LN_create_leenkx.py

25 lines
691 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
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()