forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
15
leenkx/blender/lnx/logicnode/string/LN_string_replace.py
Normal file
15
leenkx/blender/lnx/logicnode/string/LN_string_replace.py
Normal file
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class StringReplaceNode(LnxLogicTreeNode):
|
||||
"""Replace all ocurrences of string to find in the input String"""
|
||||
bl_idname = 'LNStringReplaceNode'
|
||||
bl_label = 'String Replace'
|
||||
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxStringSocket', 'String')
|
||||
self.add_input('LnxStringSocket', 'Find')
|
||||
self.add_input('LnxStringSocket', 'Replace')
|
||||
|
||||
self.add_output('LnxStringSocket', 'String')
|
Reference in New Issue
Block a user