forked from LeenkxTeam/LNXSDK
Webview for RunT/Krom
This commit is contained in:
15
leenkx/blender/lnx/logicnode/krom/LN_file_exists.py
Normal file
15
leenkx/blender/lnx/logicnode/krom/LN_file_exists.py
Normal file
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
class KromFileExistsNode(LnxLogicTreeNode):
|
||||
"""Checks whether a file exists at the given path"""
|
||||
bl_idname = 'LNKromFileExistsNode'
|
||||
bl_label = 'File Exists'
|
||||
lnx_category = 'Krom Runtime'
|
||||
lnx_section = 'file'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxStringSocket', 'Path')
|
||||
|
||||
self.add_output('LnxBoolSocket', 'Exists')
|
||||
Reference in New Issue
Block a user