- Posts: 3
scripting lk language - multiple input window
- Drape
- Topic Author
Less
More
15 Feb 2021 12:39 #9290
by Drape
scripting lk language - multiple input window was created by Drape
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
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.
- pgilman
Less
More
- Posts: 5447
18 Feb 2021 18:16 #9307
by pgilman
Replied by pgilman 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.
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: pgilman