poIResultCtrl GetSimulationLoaded

Query whether the given simulation step is loaded.

Syntax

poIResultCtrl_handle GetSimulationLoaded subcase_id index

Application

HyperView Tcl Query

Description

This command, valid only in Upfront Data Loading Mode, returns true if the given simulation step is loaded, otherwise false.

Inputs

subcase_id
The ID of the subcase.
index
The simulation step index (0 based).

Example

To get the simulation step load for step index 4 from subcase ID 1:

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetModelHandle model [client GetActiveModel]
model GetResultCtrlHandle rc
rc GetSimulationLoaded 1 4
hwi CloseStack

Errors

Returns false if the handle is invalid and sets error condition on the session handle. See session_handle GetError.

Related Topics

See the Upfront Data Loader APIs topic for additional information regarding the various Tcl/Tk commands that have been added for this workflow.