poISubcase SetLabel
Sets the label for a derived subcase.
Syntax
subcase_handle SetLabellabel
Application
HyperView Tcl Modify
Description
This command sets a label for the derived subcase. This command cannot be used to set the label for a regular subcase (it can only be used for a derived subcase).
Inputs
- label
- The label for the derived subcase.
Example
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetResultCtrlHandle result_handle
result_handle GetSubcaseHandle subcase_handle 1
# Set a label for the subcase
subcase_handle SetLabel “My subcase”
hwi CloseStack
Errors
Returns a non-zero value if the index value is not appropriate.