poISubcase GetDerivedSimulationLabel
Returns the derived label of the simulation of a derived subcase.
Syntax
subcase_handle GetDerivedSimulationLabel simidx
Application
HyperView Tcl Query
Description
Inputs
- simidx
- The simulation index within 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
set scid [result_handle AddSubcase];
result_handle GetSubcaseHandle subcase_handle $scid
subcase_handle SetDerivedType “superposition”
subcase_handle AppendSimulation 1 0;
set lab [subcase_handle GetDerivedSimulationLabel 0];
# The variable lab will have a value something like “SC1 T=0.0”
hwi CloseStack
Errors
Returns nothing if an error occurred.