forked from LeenkxTeam/LNXSDK
14 lines
374 B
Python
14 lines
374 B
Python
|
from lnx.logicnode.lnx_nodes import *
|
||
|
|
||
|
class ParseIntNode(LnxLogicTreeNode):
|
||
|
"""Returns the Ints that are in the given string."""
|
||
|
bl_idname = 'LNParseIntNode'
|
||
|
bl_label = 'Parse Int'
|
||
|
lnx_section = 'parse'
|
||
|
lnx_version = 1
|
||
|
|
||
|
def lnx_init(self, context):
|
||
|
self.add_output('LnxIntSocket', 'Int')
|
||
|
|
||
|
self.add_input('LnxStringSocket', 'String')
|