poISubcase GetNumberOfSimulations
Returns the number of simulations available in the subcase.
Syntax
subcase_handle GetNumberOfSimulations
Application
HyperView Tcl Query
Description
This command returns the number of simulations available in the subcase. For "linear superposition" and "envelope" subcases, this command will return a value of 1.
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
result_handle GetSubcaseHandle subcase_handle 2
set nsim [subcase_handle GetNumberOfSimulations]
hwi CloseStack
Errors
None.