Files
LNXSDK/leenkx/blender/lnx/logicnode/krom/LN_get_arg_count.py
2026-07-13 15:44:52 -07:00

14 lines
401 B
Python

from lnx.logicnode.lnx_nodes import *
class KromGetArgCountNode(LnxLogicTreeNode):
"""Returns the number of command line arguments passed to the application"""
bl_idname = 'LNKromGetArgCountNode'
bl_label = 'Get Arg Count'
lnx_category = 'Krom Runtime'
lnx_section = 'system'
lnx_version = 1
def lnx_init(self, context):
self.add_output('LnxIntSocket', 'Count')