poISubcase RemoveSimulation

Removes a simulation from a derived subcase.

Syntax

subcase_handle RemoveSimulationsimidx

Application

HyperView Tcl Modify

Description

This command removes an existing simulation from a derived subcase. Simulations can only be removed from a derived subcase and not from a regular subcase.

Inputs

simidx
The simulation index within the subcase.

Example

To remove 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 2

# Append simulation
subcase_handle RemoveSimulation 5
hwi CloseStack

Errors

Returns a non-zero value.