scripting lk language - multiple input window

  • Jan
  • Topic Author
More
15 Feb 2021 19:39 #9290 by Jan
Dear Paul and SAM users,

I would like to ask you, is there any way how to create multiple input window in lk scripting? I am modelling a case where I need to put more intputs from the user at the beginnig of running the script. I know there is an in() function, but it provides me only one input window, so till now I am calling repeatedly in() function for every single input. Could you please help me, how to overcome this problem? 

(Also is there any other source from which I can study lk language, except lk_guide.pdf and prescribed macros in SAM?)

Thank you very much in advance!

BR
Jan

Please Log in or Create an account to join the conversation.

  • Paul Gilman
More
19 Feb 2021 01:16 #9307 by Paul Gilman
Replied by Paul Gilman on topic scripting lk language - multiple input window
Hi Jan,

I'm afraid the options for getting user input are pretty limited in LK. You might consider reading inputs from a text or CSV file, or in Windows even directly from an Excel file.

The only references are the LK Guide that comes with SAM and the sample scripts on GitHub (and the built-in macros you mention).

github.com/NREL/SAM/tree/develop/samples

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

Moderators: Paul Gilman
Powered by Kunena Forum