poISubcase AppendSubcase

Appends a subcase to a derived subcase.

Syntax

subcase_handle AppendSubcase subid

Application

HyperView Tcl Modify

Description

This command appends an existing subcase 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.

Example

To append a subcase id 2 to the derived subcase id 3:
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

# Set a label for the subcase
subcase_handle AppendSubcase 2
hwi CloseStack

Errors

Returns a non-zero value.