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

21 lines
614 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class GetElementNode(LnxLogicTreeNode):
"""Get Element"""
bl_idname = 'LNGetElementNode'
bl_label = 'Get Element'
bl_description = 'Get Element'
lnx_category = 'HTML'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxStringSocket', 'Selector')
self.add_output('LnxNodeSocketAction', 'Out')
self.add_output('LnxDynamicSocket', 'Element')
def register():
add_category('HTML', icon='SEQ_STRIP_META')
GetElementNode.on_register()