LNXSDK/leenkx/blender/lnx/logicnode/canvas/LN_get_canvas_text.py

15 lines
415 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class CanvasGetTextNode(LnxLogicTreeNode):
"""Sets the text of the given UI element."""
bl_idname = 'LNCanvasGetTextNode'
bl_label = 'Get Canvas Text'
lnx_section = 'elements_general'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxStringSocket', 'Element')
self.add_output('LnxStringSocket', 'String')