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')