- Posts: 31
LK Script - deleting and renaming SAM GUI cases
- kaiyer
- Topic Author
Less
More
17 Oct 2020 17:08 #8878
by kaiyer
LK Script - deleting and renaming SAM GUI cases was created by kaiyer
Let us say we have "case 1" and "case 2" as two cases in SAM.
I can make "case 1" as the active case with the following code snippet.
How do I delete this active case programatically?
Also how do I rename the active_case programatically?
I want to rename this case as "case 1 - renamed".
Thanks for your help.
I can make "case 1" as the active case with the following code snippet.
Code:
active_case("case 1");
Also how do I rename the active_case programatically?
I want to rename this case as "case 1 - renamed".
Thanks for your help.
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
19 Oct 2020 14:53 #8886
by pgilman
Replied by pgilman on topic LK Script - deleting and renaming SAM GUI cases
Hello,
It is not possible to delete or rename a case from an LK script. The available functions are:
create_case() to create a new case.
duplicate_case() to make a copy of the active case.
active_case() to set or get the active case.
list_cases() to get a list of cases in the file.
Best regards,
Paul.
It is not possible to delete or rename a case from an LK script. The available functions are:
create_case() to create a new case.
duplicate_case() to make a copy of the active case.
active_case() to set or get the active case.
list_cases() to get a list of cases in the file.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: pgilman