poISubcase AppendSimulation
Appends a simulation to a derived subcase.
Syntax
subcase_handle AppendSimulation subid simidx
Application
HyperView Tcl Modify
Description
is command appends an existing simulation to a derived subcase. Simulations can only be added to a derived subcase and cannot be added to a regular subcase.
Inputs
- subid
- The ID of the subcase which contains the simulation.
- simidx
- The simulation index within the subcase specified by the subid.
Example
To append a simulation idx of 5 in subcase id
2:
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 3
# Append simulation
subcase_handle AppendSimulation 2 5
hwi CloseStack
Errors
Returns a non-zero value.